Class Subscriber - gateway to the legacy Contao HOOK style callbacks.

 Methods

Create a template instance for the default panel elements if none has been created yet.

getPanelElementTemplate(\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPanelElementTemplateEvent $event) : void
Static

{@inheritDoc}

getSubscribedEvents() 
Static

Add custom twig extension.

initTwig(\ContaoTwigInitializeEvent $event) : void

Parameters

$event

\ContaoTwigInitializeEvent

The event.

Initialize the panels for known actions so that they always know their state.

initializePanels(\ContaoCommunityAlliance\DcGeneral\Event\ActionEvent $event) : void

Render a property value to readable text.

renderReadablePropertyValue(\ContaoCommunityAlliance\DcGeneral\View\Event\RenderReadablePropertyValueEvent $event) : void
Static
SuppressWarnings (PHPMD.Superglobals)
SuppressWarnings (PHPMD.CamelCaseVariableName)

Parameters

Resolve a widget error message.

resolveWidgetErrorMessage(\ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ResolveWidgetErrorMessageEvent $event) : void
Static