Class ModelOperationButtonCallbackListener.
getArgs(\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetOperationButtonEvent $event) : array
\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetOperationButtonEvent
The event being emitted.
array
setRestrictions(null|string $dataContainerName, null|string $operationName) : void
null
string
The name of the data container to limit execution on.
null
string
The name of the operation button to limit execution on.
update(\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetOperationButtonEvent $event, string $value) : void
\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetOperationButtonEvent
The event being emitted.
string
The value returned by the callback.
wantToExecute(\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetOperationButtonEvent $event) : bool
\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetOperationButtonEvent
The Event for which the callback shall be invoked.
bool
buildHref(\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\CommandInterface $command) : string
\ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\CommandInterface
The command for which the href shall get built.
string
$operationName : null | string