Method | Description | |
---|---|---|
__construct ( Sylius\Component\Registry\ServiceRegistryInterface $actionRegistry, Symfony\Component\Form\FormFactoryInterface $factory, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository ) |
Method | Description | |
---|---|---|
addConfigurationFields ( Symfony\Component\Form\FormInterface $form, $registryIdentifier, array $data = [] ) | ||
getConfiguration ( $action ) : array |
Method | Description | |
---|---|---|
createConfigurationField ( string $configuration, array $data ) : Symfony\Component\Form\FormInterface | ||
createConfigurationFieldForChannel ( Sylius\Component\Core\Model\ChannelInterface $channel, string $configuration, array $data ) : Symfony\Component\Form\FormInterface |
public __construct ( Sylius\Component\Registry\ServiceRegistryInterface $actionRegistry, Symfony\Component\Form\FormFactoryInterface $factory, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository ) | ||
$actionRegistry | Sylius\Component\Registry\ServiceRegistryInterface | |
$factory | Symfony\Component\Form\FormFactoryInterface | |
$channelRepository | Sylius\Component\Channel\Repository\ChannelRepositoryInterface |
protected addConfigurationFields ( Symfony\Component\Form\FormInterface $form, $registryIdentifier, array $data = [] ) | ||
$form | Symfony\Component\Form\FormInterface | |
$data | array |
protected getConfiguration ( $action ) : array | ||
$action | ||
return | array |