@file Layout context handler for entities.

Hierarchy

Expanded class hierarchy of EntityLayoutContext

File

core/modules/layout/plugins/context/entity_layout_context_handler.inc, line 6
Layout context handler for entities.

Members

Contains filters are case sensitive
Namesort ascending Modifiers Type Description
LayoutHandler::toArray function Convert this object's properties to an array.
LayoutContext::USAGE_TYPE_SYSTEM constant Declares a LayoutContext to be a system-wide context
LayoutContext::USAGE_TYPE_RELATIONSHIP constant Declares a LayoutContext is provided by a relationship to another context.
LayoutContext::USAGE_TYPE_MENU constant Declares a LayoutContext to be provided based on a menu item or path.
LayoutContext::USAGE_TYPE_CUSTOM constant Declares a LayoutContext to be a manually specified custom context.
LayoutContext::USAGE_TYPE_ALL constant All possible context types.
LayoutContext::setDataFromRouterMap Deprecated function Set the context data from the router item map.
LayoutContext::setDataFromRouter public function Set the context data from the router item.
LayoutContext::setData function Set the data for this context.
LayoutContext::isA function Check if this context matches a plugin name.
EntityLayoutContext::__construct function Constructor for LayoutContext objects. Overrides LayoutContext::__construct
EntityLayoutContext::type function Return the indicator for this context, i.e. "entity", "string". Overrides LayoutContext::type
EntityLayoutContext::label function Assemble a human-readable label of this object. Overrides LayoutContext::label
EntityLayoutContext::getAdminSummary function Return a summary for this context. Overrides LayoutContext::getAdminSummary
EntityLayoutContext::formValidate function Validate handler for the settings form for this context item. Overrides LayoutContext::formValidate
EntityLayoutContext::formSubmit function Submit handler for the settings form for this context item. Overrides LayoutContext::formSubmit
EntityLayoutContext::form function Settings form for configuring this context item. Overrides LayoutContext::form
EntityLayoutContext::$entity_type protected property The entity type for this context.