Search for contextual

  1. Search 7.x for contextual
  2. Search 8.9.x for contextual
  3. Search 10.3.x for contextual
  4. Search 11.x for contextual
  5. Search main for contextual
  6. Other projects
Title Object type File name Summary
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().
contextual_views_data_alter function core/modules/contextual/contextual.views.inc Implements hook_views_data_alter().
DisplayBlockTest::testBlockContextualLinks function core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php Tests the contextual links on a Views block.
DisplayTest::testPageContextualLinks function core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php Tests contextual links on Views page displays.
DisplayTest::toggleContextualTriggerVisibility function core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php Toggles the visibility of a contextual trigger.
DuplicateContextualLinksTest class core/modules/contextual/tests/src/FunctionalJavascript/DuplicateContextualLinksTest.php Tests the UI for correct contextual links.
DuplicateContextualLinksTest.php file core/modules/contextual/tests/src/FunctionalJavascript/DuplicateContextualLinksTest.php
DuplicateContextualLinksTest::$defaultTheme property core/modules/contextual/tests/src/FunctionalJavascript/DuplicateContextualLinksTest.php The theme to install as the default for testing.
DuplicateContextualLinksTest::$modules property core/modules/contextual/tests/src/FunctionalJavascript/DuplicateContextualLinksTest.php Modules to enable.
DuplicateContextualLinksTest::testSameContextualLinks function core/modules/contextual/tests/src/FunctionalJavascript/DuplicateContextualLinksTest.php Tests the contextual links with same id.
EntityViewBuilder::addContextualLinks function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Add contextual links.
hook_contextual_links_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter contextual links before they are rendered.
hook_contextual_links_plugins_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter the plugin definition of contextual links.
hook_contextual_links_view_alter function core/modules/contextual/contextual.api.php Alter a contextual links element before it is rendered.
LayoutBuilderDisableInteractionsTest::assertContextualLinkRetainsMouseup function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Makes sure contextual links respond to mouseup event.
LayoutBuilderDisableInteractionsTest::assertContextualLinksClickable function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Confirms that Layout Builder contextual links remain active.
LayoutBuilderTest::clickContextualLink function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php @todo Remove this in https://www.drupal.org/project/drupal/issues/2918718.
LayoutBuilderTest::testPluginsProvidingCustomAttributesAndContextualLinks function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests that block plugins can define custom attributes and contextual links.
layout_builder.links.contextual.yml file core/modules/layout_builder/layout_builder.links.contextual.yml core/modules/layout_builder/layout_builder.links.contextual.yml
layout_builder_test.links.contextual.yml file core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.links.contextual.yml core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.links.contextual.yml
LlamaContextual class core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php Defines a "Llama" plugin, with a contextually enabled "llama" feature.
LlamaContextual.php file core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php
LlamaContextual::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaContextual::isEnabled function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php Checks if this plugin should be enabled based on the editor configuration.
LlamaContextualAndButton class core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php Defines a "LlamaContextualAndButton" plugin, with a "llama" feature.
LlamaContextualAndButton.php file core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php
LlamaContextualAndButton::getButtons function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php Returns the buttons that this plugin provides, along with metadata.
LlamaContextualAndButton::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaContextualAndButton::isEnabled function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php Checks if this plugin should be enabled based on the editor configuration.
LlamaContextualAndButton::settingsForm function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php Returns a settings form to configure this CKEditor plugin.
media.links.contextual.yml file core/modules/media/media.links.contextual.yml core/modules/media/media.links.contextual.yml
MediaContextualLinksTest class core/modules/media/tests/src/Functional/MediaContextualLinksTest.php Tests views contextual links on media items.
MediaContextualLinksTest.php file core/modules/media/tests/src/Functional/MediaContextualLinksTest.php
MediaContextualLinksTest::$defaultTheme property core/modules/media/tests/src/Functional/MediaContextualLinksTest.php The theme to install as the default for testing.
MediaContextualLinksTest::$modules property core/modules/media/tests/src/Functional/MediaContextualLinksTest.php Modules to enable.
MediaContextualLinksTest::testMediaContextualLinks function core/modules/media/tests/src/Functional/MediaContextualLinksTest.php Tests contextual links.
MediaEmbed::disableContextualLinks function core/modules/media/src/Plugin/Filter/MediaEmbed.php Disables Contextual Links for the embedded media by removing its property.
MenuUiJavascriptTest::testBlockContextualLinks function core/modules/menu_ui/tests/src/FunctionalJavascript/MenuUiJavascriptTest.php Tests the contextual links on a menu block.
menu_test.links.contextual.yml file core/modules/system/tests/modules/menu_test/menu_test.links.contextual.yml core/modules/system/tests/modules/menu_test/menu_test.links.contextual.yml

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