@file Class that holds information relating to a layouts context.

This class does not extend the LayoutHandler class because contexts are not stored directly within configuration. Instead contexts are determined based on the Layout's path

Hierarchy

Expanded class hierarchy of LayoutContext

File

core/modules/layout/plugins/context/layout_context.inc, line 11
Class that holds information relating to a layouts context.

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
LayoutContext::isA function Check if this context matches a plugin name.
LayoutContext::label function Assemble a human-readable label of this object.
LayoutContext::setData function Set the data for this context.
LayoutContext::type abstract function Return the indicator for this context, i.e. "entity", "string".
LayoutContext::__construct function Constructor for LayoutContext objects.