Skip to main content
Silkscreen CMS API
  • Login
  • Home

Search for contexts

You are here

  1. Home »
  2. API reference »
  3. 1.20.x
Name Type Location Description
Layout::$contexts property modules/layout/includes/layout.class.inc An array of LayoutContext instances used by this menu item.
Block::setContexts function modules/layout/includes/block.class.inc Set the contexts for this block.
Layout::hasContexts function modules/layout/includes/layout.class.inc Check if the layout has a context of a particular name.
Layout::setContexts function modules/layout/includes/layout.class.inc Set the internally stored contexts.
Layout::getContexts function modules/layout/includes/layout.class.inc Return all contexts (from both the layout and menu item) for this Layout.
Layout::clearContexts function modules/layout/includes/layout.class.inc Clear a stored context.
Layout::resetContexts function modules/layout/includes/layout.class.inc Reset the internally stored contexts.
LayoutMenuItem::$contexts property modules/layout/includes/layout_menu_item.class.inc An array of LayoutContext instances used by this menu item.
LayoutAccess::setContexts function modules/layout/plugins/access/layout_access.inc Sets the contexts for this item from the full list of layout contexts.
Block::getRequiredContexts function modules/layout/includes/block.class.inc Get a list of all required context plugin names for this block.
LayoutMenuItem::hasContexts function 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 modules/layout/layout.module Helper function for setting contexts on a layout handler.
LayoutMenuItem::getContexts function modules/layout/includes/layout_menu_item.class.inc Get all contexts required or configured for this menu path.
layout_contexts_form_element function modules/layout/layout.admin.inc Partial form to generate a select list for selecting context.
LayoutMenuItem::resetContexts function modules/layout/includes/layout_menu_item.class.inc Reset the internally stored contexts.
LayoutInterfaceTest::testContexts function modules/layout/tests/layout.test Test the support for contexts within conditions and blocks.
LayoutAccess::getRequiredContexts function modules/layout/plugins/access/layout_access.inc Get a list of all context plugin names required for this access check.
layout_block_has_required_contexts function modules/layout/layout.module Determine if a block has the necessary contexts.
Layout::getContextsFromRelationships function modules/layout/includes/layout.class.inc Load the contexts based on this Layout's relationship configuration.

Search 1.20.x

Partial match search is supported

API Navigation

  • 1.20.x
  • Topics
  • Classes
  • Functions
  • Files
  • Constants
  • Globals
  • Deprecated
Powered by Silkscreen CMS