LayoutContainer
Helper class for working with layout containers.
Namespace
Ceres\Helper
Type | Name | Description |
---|---|---|
|
The plugin to which the layout container belongs |
|
|
The container name for the layout container |
|
|
The content of the layout container |
Methods
public static getContents($containerWithPluginName, $arguments):array
Get a rendered layout container, normally used in the twig template renderer.
Type |
Name |
Description |
|
For example: "Ceres::Basket.BeforeBasketTotals". |
|
|
Context for the rendering of the layout container. |
public getPluginName():string
Get the plugin name of the layout container.
public getContainerName():string
Get the container name for the layout container.
Thank you for your feedback!