LayoutContainer

Helper class for working with layout containers.

Namespace

Ceres\Helper

Properties
Type Name Description

string

$pluginName

The plugin to which the layout container belongs

string

$containerName

The container name for the layout container

array

$contents

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.

Parameters

Type

Name

Description

string

$containerWithPluginName

For example: "Ceres::Basket.BeforeBasketTotals".

array

$arguments

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.