BaseAbstractBlockElementListener
class BaseAbstractBlockElementListener implements BaseBlockElementListenerInterface
Class BaseAbstractBlockElementListener. This listener listens to multiple events of block elements.
When event is dispatched it goes trough list of all registered custom events and calls specified functions
Methods
BaseAbstractBlockElementListener constructor. Constructor dispatches event and geneartes array of custom block element listeners
No description
No description
Return content of twig file. This content should contain call to extension and include template to be rendered.
Details
at line 39
__construct(CachedReader $cr, Twig_Environment $templating, EventDispatcherInterface $dispatcher)
BaseAbstractBlockElementListener constructor. Constructor dispatches event and geneartes array of custom block element listeners
at line 58
CachedReader
getCr()
at line 66
Twig_Environment
getTemplating()
at line 77
EventWithResult
getNames(EventWithResult $event)
Return array of elements containing id and entity name
at line 93
EventWithResult
getTwigContent(EventWithResult $event)
Return content of twig file. This content should contain call to extension and include template to be rendered.
at line 109
EventWithResult
getEntityData(EventWithResult $event)
Return array of data for add/edit
at line 125
EventWithResult
getAlgorithmParams(EventWithResult $event)
Return array of params for selected algorithm
at line 141
EventWithResult
getAlgorithms(EventWithResult $event)
Return array of available algorithms