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
hook_menu_contextual_links_alter function core/modules/system/system.api.php Alter contextual links before they are rendered.
LayoutContext::setDataFromRouter function core/modules/layout/plugins/context/layout_context.inc Set the context data from the router item.
EntityLayoutContext::__construct function core/modules/layout/plugins/context/entity_layout_context_handler.inc Constructor for LayoutContext objects.
LayoutOverridesPathContext::type function core/modules/layout/plugins/context/layout_context.inc Return the indicator for this context, i.e. "entity", "string".
LayoutAccess::getRequiredContexts function core/modules/layout/plugins/access/layout_access.inc Get a list of all context plugin names required for this access check.
entity_layout_context_handler.inc file core/modules/layout/plugins/context/entity_layout_context_handler.inc Layout context handler for entities.
layout_settings_form_context_edit function core/modules/layout/layout.context.admin.inc Submit handler for layout_settings_form() that edits a context.
layout_ajax_context_cancel_dialog function core/modules/layout/layout.context.admin.inc AJAX handler that cancels the context edit dialog.
LayoutInterfaceTest::testContexts function core/modules/layout/tests/layout.test Test the support for contexts within conditions and blocks.
EntityLayoutContext::formValidate function core/modules/layout/plugins/context/entity_layout_context_handler.inc Validate handler for the settings form for this context item.
EntityLayoutContext::$entity_type property core/modules/layout/plugins/context/entity_layout_context_handler.inc The entity type for this context.
LayoutOverridesPathContext::label function core/modules/layout/plugins/context/layout_context.inc Assemble a human-readable label of this object.
Layout::getContextFromRelationship function core/modules/layout/includes/layout.class.inc
layout_contextual_links_view_alter function core/modules/layout/layout.module Implements hook_contextual_links_view_alter()
views_ui_contextual_links_suppress function core/modules/views_ui/views_ui.module Sets a static variable for controlling whether contextual links are rendered.
BackdropDiffFormatter::contextLine function core/includes/diff.inc
layout_block_has_required_contexts function core/modules/layout/layout.module Determine if a block has the necessary contexts.
LayoutContext::setDataFromRouterMap function core/modules/layout/plugins/context/layout_context.inc Set the context data from the router item map.
DiffFormatter::$leadingContextLines property core/includes/diff.inc This should be left at zero for this class, but subclasses may want to set this to other values.
layout_settings_form_context_remove function core/modules/layout/layout.context.admin.inc Submit handler for layout_settings_form() that removes a context.
theme_layout_settings_context_table function core/modules/layout/layout.theme.inc Output the table for layout_settings_form() contexts.
contextual_links_example.tests.info file modules/examples/contextual_links_example/tests/contextual_links_example.tests.info [ContextualLinksExampleTestCase] name = Contextual Links example functionality description = Tests the behavior of the contextual links provided by the Contextual links example module. group = Example modules file = contextual_links_example.test
contextual_links_example_block_info function modules/examples/contextual_links_example/contextual_links_example.module Implements hook_block_info().
contextual_links_example_block_view function modules/examples/contextual_links_example/contextual_links_example.module Implements hook_block_view().
token_get_invalid_tokens_by_context function core/includes/token.inc Validate an tokens in raw text based on possible contexts.
layout_context_relationship_add_form function core/modules/layout/layout.context.admin.inc Form callback; Displays form for adding new relationships to a layout.
BackdropLocalStreamWrapper::$context property core/includes/stream_wrappers.inc Stream context resource.
Layout::getContextsFromRelationships function core/modules/layout/includes/layout.class.inc Load the contexts based on this Layout's relationship configuration.
DiffFormatter::$trailingContextLines property core/includes/diff.inc This should be left at zero for this class, but subclasses may want to set this to other values.
layout_context_add_load_context_nojs function core/modules/layout/layout.context.admin.inc Submit handler to select a context or relationship. Hidden when JavaScript is enabled.
views_ui_contextual_links_view_alter function core/modules/views_ui/views_ui.module Implements hook_contextual_links_view_alter().
LayoutStringContext::getAdminSummary function core/modules/layout/plugins/context/layout_context.inc Return a summary for this context.
EntityLayoutContext::getAdminSummary function core/modules/layout/plugins/context/entity_layout_context_handler.inc Return a summary for this context.
LayoutRelationshipBroken::getContext function core/modules/layout/plugins/relationships/layout_relationship.inc Get the context from this relationship.
views_handler_field_contextual_links class core/modules/views/handlers/views_handler_field_contextual_links.inc Provides a handler that adds contextual links.
contextual_links_example_object_load function modules/examples/contextual_links_example/contextual_links_example.module Menu loader callback for the object defined by this module.
contextual_links_example_object_page function modules/examples/contextual_links_example/contextual_links_example.module Menu callback; displays an object defined by this module on its own page.
ContextualLinksExampleTestCase::setUp function modules/examples/contextual_links_example/tests/contextual_links_example.test Enable modules and create user with specific permissions.
LayoutContext::USAGE_TYPE_RELATIONSHIP constant core/modules/layout/plugins/context/layout_context.inc Declares a LayoutContext is provided by a relationship to another context.
views_ui_contextual_links_suppress_pop function core/modules/views_ui/views_ui.module Decrements the views_ui_contextual_links_suppress() static variable.
ContextualDynamicContextTestCase::setUp function core/modules/contextual/tests/contextual.test Sets up a Backdrop site for running functional and integration tests.
views_ui_contextual_links_suppress_push function core/modules/views_ui/views_ui.module Increments the views_ui_contextual_links_suppress() static variable.
contextual-links-example-object.tpl.php file modules/examples/contextual_links_example/contextual-links-example-object.tpl.php Default theme implementation: Display a sample object with contextual links.
ContextualLinksExampleTestCase::$webUser property modules/examples/contextual_links_example/tests/contextual_links_example.test
views_handler_field_contextual_links.inc file core/modules/views/handlers/views_handler_field_contextual_links.inc Definition of views_handler_field_contextual_links.
LayoutInterfaceTest::testTaxonomyContext function core/modules/layout/tests/layout.test Tests Taxonomy contexts within layouts.
FileExampleSessionStreamWrapper::$context property modules/examples/file_example/file_example_session_streams.inc Stream context resource.
contextual_links_example_object_edit_form function modules/examples/contextual_links_example/contextual_links_example.module Form callback; display the form for editing our module's content.
contextual_links_example_node_action_form function modules/examples/contextual_links_example/contextual_links_example.module Form callback; display the form for performing an example action on a node.
ContextualDynamicContextTestCase::$profile property core/modules/contextual/tests/contextual.test The profile to install as a basis for testing.

Pages

  • « first
  • ‹ previous
  • 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