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