class ToolbarDashboards extends AbstractExtension

Twig extension to provide the xhtml code for available 975L dashboards using toolbar_dashboards('SIZE[lg|md|sm|xs](default md)')

Properties

private ConfigServiceInterface $configService Stores ConfigServiceInterface
private ContainerInterface $container Stores ContainerInterface
private TokenStorageInterface $tokenStorage Stores TokenStorageInterface

Methods

__construct(ConfigServiceInterface $configService, ContainerInterface $container, TokenStorageInterface $tokenStorage)

No description

getFunctions()

No description

string
dashboards(Environment $environment, $size)

Returns the xhtml code for the available 975L dashboards

Details

at line 44
__construct(ConfigServiceInterface $configService, ContainerInterface $container, TokenStorageInterface $tokenStorage)

Parameters

ConfigServiceInterface $configService
ContainerInterface $container
TokenStorageInterface $tokenStorage

at line 55
getFunctions()

at line 73
string dashboards(Environment $environment, $size)

Returns the xhtml code for the available 975L dashboards

Parameters

Environment $environment
$size

Return Value

string