Base class for Tabs based on a route.
Properties¶
$translator¶
AbstractTab.php
:
24
|
|
$twig¶
AbstractTab.php
:
21
|
|
$urlGenerator¶
AbstractRouteBasedTab.php
:
22
|
|
Methods¶
__construct() ¶
AbstractRouteBasedTab.php
:
27
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$twig | Environment | - | - |
$translator | TranslatorInterface | - | - |
$urlGenerator | UrlGeneratorInterface | - | - |
$httpKernelRuntime | HttpKernelRuntime | - | - |
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() ¶
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() ¶
AbstractRouteBasedTab.php
:
39
Returns HTML body of the tab.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$parameters | array<string|int, mixed> | - | - |
Return values
string