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