Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for context

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
LayoutContext class core/modules/layout/plugins/context/layout_context.inc @file Class that holds information relating to a layout's context.
contextual.css file core/modules/contextual/css/contextual.css Stylesheet for the Contextual module.
contextual.test file core/modules/contextual/tests/contextual.test Tests for contextual.module.
contextual.info file core/modules/contextual/contextual.info type = module name = Contextual Links description = Provides contextual links to perform actions related to elements on a page. package = User Interface tags[] = Administration tags[] = Site Navigation version = BACKDROP_VERSION backdrop = 1.x
Config::$context property core/includes/config.inc The configuration context used for this configuration object.
MENU_CONTEXT_NONE constant core/includes/menu.inc Internal menu flag: Invisible local task.
MENU_CONTEXT_PAGE constant core/includes/menu.inc Internal menu flag: Local task should be displayed in page context.
contextual.module file core/modules/contextual/contextual.module Adds contextual links to perform actions related to elements on a page.
Layout::$contexts property core/modules/layout/includes/layout.class.inc An array of LayoutContext instances used by this menu item.
Menu context types group core/includes/menu.inc Flags for use in the "context" attribute of menu router items.
contextual.api.php file core/modules/contextual/contextual.api.php Hooks provided by Contextual module.
contextual.install file core/modules/contextual/contextual.install Install, update and uninstall functions for the contextual links module.
Block::setContexts function core/modules/layout/includes/block.class.inc Set the contexts for this block.
layout_context.inc file core/modules/layout/plugins/context/layout_context.inc Class that holds information relating to a layout's context.
contextual_install function core/modules/contextual/contextual.install Implements hook_install().
LayoutContext::isA function core/modules/layout/plugins/context/layout_context.inc Check if this context matches a plugin name.
MENU_CONTEXT_INLINE constant core/includes/menu.inc Internal menu flag: Local task should be displayed inline.
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.
LayoutContext::form function core/modules/layout/plugins/context/layout_context.inc Settings form for configuring this context item.
EntityLayoutContext class core/modules/layout/plugins/context/entity_layout_context_handler.inc @file Layout context handler for entities.
LayoutContext::type function core/modules/layout/plugins/context/layout_context.inc Return the indicator for this context, i.e. "entity", "string".
LayoutContextBroken class core/modules/layout/plugins/context/layout_context.inc A class to be used for contexts whose handler cannot be found.
LayoutStringContext class core/modules/layout/plugins/context/layout_context.inc Pass-through context used when an unknown argument is encountered.
LayoutContext::label function core/modules/layout/plugins/context/layout_context.inc Assemble a human-readable label of this object.
contextual.tests.info file core/modules/contextual/tests/contextual.tests.info [ContextualDynamicContextTestCase] name = Contextual links on node lists description = Tests if contextual links are showing on the home page depending on permissions. group = Contextual file = contextual.test
menu_contextual_links function core/includes/menu.inc Retrieves contextual links for a path based on registered local tasks.
contextual_permission function core/modules/contextual/contextual.module Implements hook_permission().
contextual_preprocess function core/modules/contextual/contextual.module Implements hook_preprocess().
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.
layout_create_context function core/modules/layout/layout.module Helper function to create a Layout Context.
DashboardLayoutContext class core/modules/dashboard/includes/dashboard_layout_context.inc @file Layout context handler for entities.
contextual_update_1000 function core/modules/contextual/contextual.install Increases weight of contextual module so it runs after most other modules.
DiffFormatter::context function core/includes/diff.inc
LayoutContext::setData function core/modules/layout/plugins/context/layout_context.inc Set the data for this context.
contextual_library_info function core/modules/contextual/contextual.module Implements hook_library_info().
contextual_element_info function core/modules/contextual/contextual.module Implements hook_element_info().
layout_context_add_form function core/modules/layout/layout.context.admin.inc Form callback; Displays form for adding new contexts to a layout.
layout_get_context_info function core/modules/layout/layout.module Load all layout context information from modules.
hook_layout_context_info function core/modules/layout/layout.api.php Provides a list of all "contexts" available to Layout module.
layout.context.admin.inc file core/modules/layout/layout.context.admin.inc Administrative functions for custom layout contexts.
node_layout_context_info function core/modules/node/node.module Implements hook_layout_context_info().
user_layout_context_info function core/modules/user/user.module Implements hook_layout_context_info().
LOCALE_JS_OBJECT_CONTEXT constant core/includes/locale.inc Regular expression to match an object containing a key 'context'.
LayoutMenuItem::$contexts property core/modules/layout/includes/layout_menu_item.class.inc An array of LayoutContext instances used by this menu item.
layout_context_ajax_style function core/modules/layout/layout.context.admin.inc AJAX callback to update the context or relationship settings.
LayoutContext::formSubmit function core/modules/layout/plugins/context/layout_context.inc Submit handler for the settings form for this context item.
EntityLayoutContext::form function core/modules/layout/plugins/context/entity_layout_context_handler.inc Settings form for configuring this context item.

Pages

  • 1
  • 2
  • 3
  • 4
  • next ›
  • last »

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org