Base class for Tabs based on a route.
Properties¶
                 $translator
            ¶
        $translator
            ¶
    
        
        AbstractTab.php
                :
        24
                 
    
        |  |  | 
                 $twig
            ¶
        $twig
            ¶
    
        
        AbstractTab.php
                :
        21
                 
    
        |  |  | 
                 $urlGenerator
            ¶
        $urlGenerator
            ¶
    
        
        AbstractRouteBasedTab.php
                :
        22
                 
    
        |  |  | 
Methods¶
                 __construct()
            ¶
__construct()
            ¶
    
        
        AbstractRouteBasedTab.php
                :
        27
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $twig | Environment | - | - | 
| $translator | TranslatorInterface | - | - | 
| $urlGenerator | UrlGeneratorInterface | - | - | 
| $httpKernelRuntime | HttpKernelRuntime | - | - | 
                 getRouteName()
            ¶
getRouteName()
            ¶
    
        
        AbstractRouteBasedTab.php
                :
        54
                 
    
        Returns route name used to generate path to the resource.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $parameters | array<string, mixed> | - | - | 
Return values
string
                 getRouteParameters()
            ¶
getRouteParameters()
            ¶
    
        
        AbstractRouteBasedTab.php
                :
        63
                 
    
        Returns parameters array required to generate path using the router.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $parameters | array<string, mixed> | - | - | 
Return values
array<string, mixed>
                 renderView()
            ¶
renderView()
            ¶
    
        
        AbstractRouteBasedTab.php
                :
        39
                 
    
        Returns HTML body of the tab.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $parameters | array<string|int, mixed> | - | - | 
Return values
string