@file Class for loading, modifying, and executing a layout.

Hierarchy

Expanded class hierarchy of Layout

File

core/modules/layout/includes/layout.class.inc, line 7
Class for loading, modifying, and executing a layout.

Members

Contains filters are case sensitive
Name Modifiers Type Descriptionsort descending
Layout::addBlock function Add a block to a particular region.
Layout::$contexts private property An array of LayoutContext instances used by this menu item.
Layout::checkAccess function Check access to this layout based on the current contexts.
Layout::hasContexts function Check if the layout has a context of a particular name.
Layout::isDefault function Check if this layout is a fallback default layout.
Layout::getClone function Clone a layout and return new Layout object.
Layout::__construct function Constructor for a Layout class.
Layout::delete function Delete this layout.
Layout::disable function Disable a layout.
Layout::enable function Enable a layout.
Layout::getBlockPosition function Get a block's region position from a layout.
Layout::invokeHook protected function Invokes a hook on behalf of the layout.
Layout::setBlockPosition function Move an existing block from its current region to a new one.
Layout::removeBlock function Remove a block from a layout.
Layout::resetContexts function Reset the internally stored contexts.
Layout::form function Return a form for configuring this layout's settings.
Layout::getPath function Return a layout's path based on its assigned menu item.
Layout::getContexts function Return all contexts (from both the layout and menu item) for this Layout.
Layout::revert function Revert a layout to a module-provided default.
Layout::save function Save a layout to config.
Layout::formSubmit function Save the settings added in the form method.
Layout::setPath function Set a layout path.
Layout::setLayoutTemplate function Set the layout template, accommodating moving blocks if necessary.
Layout::$path private property The internal path of a layout.
Layout::formValidate function Validate the settings form.