Base class representing Tab using EventDispatcher for extensibility.
It extends AbstractTab by adding Event Dispatching before rendering view.
Properties¶
$eventDispatcher¶
AbstractEventDispatchingTab.php
:
25
|
|
$translator¶
AbstractTab.php
:
24
|
|
$twig¶
AbstractTab.php
:
21
|
|
Methods¶
__construct() ¶
AbstractEventDispatchingTab.php
:
27
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$twig | Environment | - | - |
$translator | TranslatorInterface | - | - |
$eventDispatcher | EventDispatcherInterface | - | - |
getTemplate() ¶
AbstractEventDispatchingTab.php
:
52
|
|
Return values
string
getTemplateParameters() ¶
AbstractEventDispatchingTab.php
:
59
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contextParameters | array<string, mixed> | [] | - |
Return values
array<string, mixed>
renderView() ¶
AbstractEventDispatchingTab.php
:
37
Returns HTML body of the tab.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$parameters | array<string|int, mixed> | - | - |
Return values
string