Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
ContextPluginTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php Modules to enable.
ContextPluginTest::testContext function core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php Tests basic context definition and value getters and setters.
ContextProviderInterface interface core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php Defines an interface for providing plugin contexts.
ContextProviderInterface.php file core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php
ContextProviderInterface::getAvailableContexts function core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php Gets all available contexts for the purposes of configuration.
ContextProviderInterface::getRuntimeContexts function core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php Gets runtime context values for the given context IDs.
ContextProvidersPass class core/lib/Drupal/Core/DependencyInjection/Compiler/ContextProvidersPass.php Adds the context provider service IDs to the context manager.
ContextProvidersPass.php file core/lib/Drupal/Core/DependencyInjection/Compiler/ContextProvidersPass.php
ContextProvidersPass::process function core/lib/Drupal/Core/DependencyInjection/Compiler/ContextProvidersPass.php Passes the service IDs of all context providers to the context repository.
ContextRepositoryInterface interface core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php Offers a global context repository.
ContextRepositoryInterface.php file core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php
ContextRepositoryInterface::getAvailableContexts function core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php Gets all available contexts for the purposes of configuration.
ContextRepositoryInterface::getRuntimeContexts function core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php Gets runtime context values for the given context IDs.
ContextTest class core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\Context[[api-linebreak]]
@group Plugin
ContextTest class core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @coversDefaultClass \Drupal\Component\Plugin\Context\Context[[api-linebreak]]
@group Plugin
ContextTest.php file core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php
ContextTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php Contains \Drupal\Tests\Core\Plugin\Context\ContextTest.
ContextTest::$contextDefinition property core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php The mocked context definition object.
ContextTest::$typedData property core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php The mocked Typed Data object.
ContextTest::$typedDataManager property core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php The mocked Typed Data manager.
ContextTest::providerGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Data provider for testGetContextValue.
ContextTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php
ContextTest::setUpDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php Set up mocks for the getDefaultValue() method call.
ContextTest::testDefaultDataValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::getContextData[[api-linebreak]]
ContextTest::testDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::getContextValue[[api-linebreak]]
ContextTest::testDefaultValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @covers ::getContextValue[[api-linebreak]]
ContextTest::testGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @covers ::getContextValue[[api-linebreak]]
@dataProvider providerGetContextValue
ContextTest::testNullDataValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::getContextData[[api-linebreak]]
ContextTest::testSetContextValueCacheableDependency function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::setContextValue[[api-linebreak]]
ContextTest::testSetContextValueTypedData function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::setContextValue[[api-linebreak]]
ContextTypedDataTest class core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Tests that contexts work properly with the typed data manager.
ContextTypedDataTest.php file core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php
ContextTypedDataTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Tests that getting a context value does not throw fatal errors.
ContextTypedDataTest::testSerialize function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Tests that contexts can be serialized.
contextual.api.php file core/modules/contextual/contextual.api.php Hooks provided by Contextual module.
contextual.css file core/themes/bartik/css/components/contextual.css Contextual links styles for Bartik.
contextual.icons.theme.css file core/themes/stable/css/contextual/contextual.icons.theme.css Styling for contextual module icons.
contextual.icons.theme.css file core/modules/contextual/css/contextual.icons.theme.css Styling for contextual module icons.
contextual.info.yml file core/modules/contextual/contextual.info.yml core/modules/contextual/contextual.info.yml
contextual.libraries.yml file core/modules/contextual/contextual.libraries.yml core/modules/contextual/contextual.libraries.yml
contextual.module file core/modules/contextual/contextual.module Adds contextual links to perform actions related to elements on a page.
contextual.module.css file core/modules/contextual/css/contextual.module.css Generic base styles for contextual module.
contextual.module.css file core/themes/stable/css/contextual/contextual.module.css Generic base styles for contextual module.
contextual.overview.html.twig file core/modules/help_topics/help_topics/contextual.overview.html.twig ---
label: 'Using contextual links'
related:
- core.ui_components
- block.overview
---
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Use contextual links to access administrative tasks without navigating the…
contextual.permissions.yml file core/modules/contextual/contextual.permissions.yml core/modules/contextual/contextual.permissions.yml
contextual.post_update.php file core/modules/contextual/contextual.post_update.php Post update functions for Contextual Links.
contextual.routing.yml file core/modules/contextual/contextual.routing.yml core/modules/contextual/contextual.routing.yml
contextual.theme.css file core/modules/contextual/css/contextual.theme.css Styling for contextual module.
contextual.theme.css file core/themes/stable/css/contextual/contextual.theme.css Styling for contextual module.
contextual.toolbar.css file core/themes/stable/css/contextual/contextual.toolbar.css Styling for contextual module's toolbar tab.

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