class PluginLayoutEventContainer

Class PluginLayoutEventContainer is injected as empire.layoute.event_container. This container is connecting LayoutManager manager to other services

Traits

Class LayoutManagementEventContainerTrait

Methods

array
getLayoutsForRoute(string $param)

Return all layouts for selected page

bool|mixed
getEntityParamFromCache(string $key)

Find cached entity params

Response|bool
getRouteContent(string $path)

Get route content

__construct(ContainerInterface $container)

No description

changeTemplateData(array $data)

Change template data

Theme|null
getDbTheme(string $theme)

Find theme by name

Details

array getLayoutsForRoute(string $param)

Return all layouts for selected page

Parameters

string $param

Return Value

array

bool|mixed getEntityParamFromCache(string $key)

Find cached entity params

Parameters

string $key

Return Value

bool|mixed

Response|bool getRouteContent(string $path)

Get route content

Parameters

string $path

Return Value

Response|bool

at line 28
__construct(ContainerInterface $container)

Parameters

ContainerInterface $container

at line 37
changeTemplateData(array $data)

Change template data

Parameters

array $data

at line 50
Theme|null getDbTheme(string $theme)

Find theme by name

Parameters

string $theme

Return Value

Theme|null

Exceptions

NonUniqueResultException