Layout::$contexts |
property |
core/modules/layout/includes/layout.class.inc |
An array of LayoutContext instances used by this menu item. |
Block::setContexts |
function |
core/modules/layout/includes/block.class.inc |
Set the contexts for this block. |
Layout::getContexts |
function |
core/modules/layout/includes/layout.class.inc |
Return all contexts (from both the layout and menu item) for this Layout. |
Layout::hasContexts |
function |
core/modules/layout/includes/layout.class.inc |
Check if the layout has a context of a particular name. |
Layout::setContexts |
function |
core/modules/layout/includes/layout.class.inc |
Set the internally stored contexts. |
Layout::resetContexts |
function |
core/modules/layout/includes/layout.class.inc |
Reset the internally stored contexts. |
Layout::clearContexts |
function |
core/modules/layout/includes/layout.class.inc |
Clear a stored context. |
LayoutMenuItem::$contexts |
property |
core/modules/layout/includes/layout_menu_item.class.inc |
An array of LayoutContext instances used by this menu item. |
Layout::getContextsByType |
function |
core/modules/layout/includes/layout.class.inc |
Return an array of contexts filtered by types specified. |
LayoutAccess::setContexts |
function |
core/modules/layout/plugins/access/layout_access.inc |
Sets the contexts for this item from the full list of layout contexts. |
Block::getRequiredContexts |
function |
core/modules/layout/includes/block.class.inc |
Get a list of all required context plugin names for this block. |
LayoutMenuItem::getContexts |
function |
core/modules/layout/includes/layout_menu_item.class.inc |
Get all contexts required or configured for this menu path. |
LayoutMenuItem::hasContexts |
function |
core/modules/layout/includes/layout_menu_item.class.inc |
Check if the menu item has a context of a particular name. |
layout_set_handler_contexts |
function |
core/modules/layout/layout.module |
Helper function for setting contexts on a layout handler. |
layout_contexts_form_element |
function |
core/modules/layout/layout.admin.inc |
Partial form to generate a select list for selecting context. |
LayoutMenuItem::resetContexts |
function |
core/modules/layout/includes/layout_menu_item.class.inc |
Reset the internally stored contexts. |
LayoutAccess::getRequiredContexts |
function |
core/modules/layout/plugins/access/layout_access.inc |
Get a list of all context plugin names required for this access check. |
LayoutInterfaceTest::testContexts |
function |
core/modules/layout/tests/layout.test |
Test the support for contexts within conditions and blocks. |
layout_block_has_required_contexts |
function |
core/modules/layout/layout.module |
Determine if a block has the necessary contexts. |
Layout::getContextsFromRelationships |
function |
core/modules/layout/includes/layout.class.inc |
Load the contexts based on this Layout's relationship configuration. |