Search for context

  1. Search 7.x for context
  2. Search 9.5.x for context
  3. Search 8.9.x for context
  4. Search 11.x for context
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Context class core/lib/Drupal/Core/Plugin/Context/Context.php A Drupal specific context wrapper class.
Context class core/lib/Drupal/Component/Plugin/Context/Context.php A generic context class for wrapping data a plugin needs to operate.

All search results

Title Object type File name Summary
ContextualLinksPlaceholder::preRenderPlaceholder function core/modules/contextual/src/Element/ContextualLinksPlaceholder.php Pre-render callback: Renders a contextual links placeholder into #markup.
ContextualLinksTest class core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php Tests the UI for correct contextual links.
ContextualLinksTest class core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php Test contextual links compatibility with the Layout Builder.
ContextualLinksTest class core/modules/node/tests/src/FunctionalJavascript/ContextualLinksTest.php Create a node with revisions and test contextual links.
ContextualLinksTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php
ContextualLinksTest.php file core/modules/node/tests/src/FunctionalJavascript/ContextualLinksTest.php
ContextualLinksTest.php file core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php
ContextualLinksTest::$defaultTheme property core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php The theme to install as the default for testing.
ContextualLinksTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php The theme to install as the default for testing.
ContextualLinksTest::$defaultTheme property core/modules/node/tests/src/FunctionalJavascript/ContextualLinksTest.php The theme to install as the default for testing.
ContextualLinksTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php Modules to install.
ContextualLinksTest::$modules property core/modules/node/tests/src/FunctionalJavascript/ContextualLinksTest.php Modules to install.
ContextualLinksTest::$modules property core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php Modules to install.
ContextualLinksTest::$nodes property core/modules/node/tests/src/FunctionalJavascript/ContextualLinksTest.php An array of node revisions.
ContextualLinksTest::addBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php Adds block to the layout via Layout Builder's UI.
ContextualLinksTest::assertCorrectContextualLinks function core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php Assert the contextual links are correct.
ContextualLinksTest::assertCorrectContextualLinksInNode function core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php Asserts the contextual links are correct on the canonical entity route.
ContextualLinksTest::assertCorrectContextualLinksInUi function core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php Asserts the contextual links are correct in Layout Builder UI.
ContextualLinksTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php
ContextualLinksTest::setUp function core/modules/node/tests/src/FunctionalJavascript/ContextualLinksTest.php
ContextualLinksTest::setUp function core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php
ContextualLinksTest::testContextualLinks function core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php Tests that the contextual links inside Layout Builder are removed.
ContextualLinksTest::testContextualLinksClick function core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php Tests clicking contextual links.
ContextualLinksTest::testContextualLinksDestination function core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php Tests the contextual links destination.
ContextualLinksTest::testContextualLinksDestinationWithQuery function core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php Tests the contextual links destination with query.
ContextualLinksTest::testContextualLinksOutsideLayout function core/modules/layout_builder/tests/src/FunctionalJavascript/ContextualLinksTest.php Tests that contextual links outside the layout are removed.
ContextualLinksTest::testContextualLinksVisibility function core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php Tests the visibility of contextual links.
ContextualLinksTest::testRevisionContextualLinks function core/modules/node/tests/src/FunctionalJavascript/ContextualLinksTest.php Tests the contextual links on revisions.
ContextualUnitTest class core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php Tests edge cases for converting between contextual links and IDs.
ContextualUnitTest.php file core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php
ContextualUnitTest::$modules property core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php Modules to install.
ContextualUnitTest::contextualLinksDataProvider function core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php Provides test cases for both test functions.
ContextualUnitTest::testContextualIdToLinks function core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php Tests the conversion from contextual ID to links.
ContextualUnitTest::testContextualLinksToId function core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php Tests the conversion from contextual links to IDs.
ContextualValidatorInterface interface core/lib/Drupal/Core/TypedData/Validation/ContextualValidatorInterface.php Extends the contextual validator validate method by a new parameter.
ContextualValidatorInterface.php file core/lib/Drupal/Core/TypedData/Validation/ContextualValidatorInterface.php
ContextualValidatorInterface::validate function core/lib/Drupal/Core/TypedData/Validation/ContextualValidatorInterface.php Validates a value against a constraint or a list of constraints.
contextual_contextual_links_view_alter function core/modules/contextual/contextual.module Implements hook_contextual_links_view_alter().
contextual_help function core/modules/contextual/contextual.module Implements hook_help().
contextual_page_attachments function core/modules/contextual/contextual.module Implements hook_page_attachments().
contextual_preprocess function core/modules/contextual/contextual.module Implements hook_preprocess().
contextual_removed_post_updates function core/modules/contextual/contextual.post_update.php Implements hook_removed_post_updates().
contextual_test.info.yml file core/modules/contextual/tests/modules/contextual_test/contextual_test.info.yml core/modules/contextual/tests/modules/contextual_test/contextual_test.info.yml
contextual_test.links.contextual.yml file core/modules/contextual/tests/modules/contextual_test/contextual_test.links.contextual.yml core/modules/contextual/tests/modules/contextual_test/contextual_test.links.contextual.yml
contextual_test.module file core/modules/contextual/tests/modules/contextual_test/contextual_test.module Provides test contextual link on blocks.
contextual_test.routing.yml file core/modules/contextual/tests/modules/contextual_test/contextual_test.routing.yml core/modules/contextual/tests/modules/contextual_test/contextual_test.routing.yml
contextual_test_block_view_alter function core/modules/contextual/tests/modules/contextual_test/contextual_test.module Implements hook_block_view_alter().
contextual_test_contextual_links_view_alter function core/modules/contextual/tests/modules/contextual_test/contextual_test.module Implements hook_contextual_links_view_alter().
contextual_test_page_attachments_alter function core/modules/contextual/tests/modules/contextual_test/contextual_test.module Implements hook_page_attachments_alter().
contextual_toolbar function core/modules/contextual/contextual.module Implements hook_toolbar().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.