Base class for Tabs based on a route.
Properties¶
                
        $translator
            ¶
    
        
        AbstractTab.php
                :
        22
                
    
        | 
                     | 
                
                    
                     | 
            
                
        $twig
            ¶
    
        
        AbstractTab.php
                :
        21
                
    
        | 
                     | 
                
                    
                     | 
            
                
        $urlGenerator
            ¶
    
        
        AbstractRouteBasedTab.php
                :
        24
                
    
        | 
                     | 
                
                    
                     | 
            
Methods¶
                
__construct()
            ¶
    
        
        AbstractRouteBasedTab.php
                :
        21
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $twig | Environment | - | - | 
| $translator | TranslatorInterface | - | - | 
| $urlGenerator | UrlGeneratorInterface | - | - | 
| $httpKernelRuntime | HttpKernelRuntime | - | - | 
                
getRouteName()
            ¶
    
        
        AbstractRouteBasedTab.php
                :
        45
                
    
        Returns route name used to generate path to the resource.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $parameters | array<string, mixed> | - | - | 
Return values
string
                
getRouteParameters()
            ¶
    
        
        AbstractRouteBasedTab.php
                :
        54
                
    
        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()
            ¶
    
        
        AbstractRouteBasedTab.php
                :
        30
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $parameters | array<string|int, mixed> | - | - | 
Return values
string