Method | Description | |
---|---|---|
createButton ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetOperationButtonEvent $event ) : void | Check if we have to add the "Create variant" button. | |
handleCreateVariantAction ( ContaoCommunityAlliance\DcGeneral\Event\ActionEvent $event ) : void | Handle the "create variant" event. | |
presetVariantBase ( ContaoCommunityAlliance\DcGeneral\Event\PreEditModelEvent $event ) : void | Check the items before the edit start. If there is a item with variant support and a empty vargroup it must be a base. So set the varbase to 1. |
Method | Description | |
---|---|---|
breadcrumb ( ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment ) : string | Get the breadcrumb navigation via event. | |
registerEventsInDispatcher ( ) : void | Register all listeners. |
protected breadcrumb ( ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment ) : string | ||
$environment | ContaoCommunityAlliance\DcGeneral\EnvironmentInterface | The environment. |
return | string |
public createButton ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetOperationButtonEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetOperationButtonEvent | The event. |
return | void |
public handleCreateVariantAction ( ContaoCommunityAlliance\DcGeneral\Event\ActionEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Event\ActionEvent | The action Event being executed. |
return | void |
public presetVariantBase ( ContaoCommunityAlliance\DcGeneral\Event\PreEditModelEvent $event ) : void | ||
$event | ContaoCommunityAlliance\DcGeneral\Event\PreEditModelEvent | The event with the model. |
return | void |
protected registerEventsInDispatcher ( ) : void | ||
return | void |