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 10.3.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
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::providerHasContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Data provider for testHasContextValue.
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
ContextTest::testDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::getContextValue
ContextTest::testDefaultValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @covers ::getContextValue
ContextTest::testGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @covers ::getContextValue
@dataProvider providerGetContextValue
ContextTest::testHasContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @covers ::hasContextValue
@dataProvider providerHasContextValue
ContextTest::testNullDataValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::getContextData
ContextTest::testSetContextValueCacheableDependency function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::setContextValue
ContextTest::testSetContextValueTypedData function core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @covers ::setContextValue
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::providerHasContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Data provider for testHasContextValue.
ContextTypedDataTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Tests that getting a context value does not throw fatal errors.
ContextTypedDataTest::testHasContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php @covers ::hasContextValue
@dataProvider providerHasContextValue
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.icons.theme.css file core/modules/contextual/css/contextual.icons.theme.css Styling for contextual module icons.
contextual.icons.theme.css file core/themes/stable9/css/contextual/contextual.icons.theme.css Styling for contextual module icons.
contextual.icons.theme.pcss.css file core/modules/contextual/css/contextual.icons.theme.pcss.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
contextual.module.css file core/modules/contextual/css/contextual.module.css Generic base styles for contextual module.
contextual.module.css file core/themes/stable9/css/contextual/contextual.module.css Generic base styles for contextual module.
contextual.overview.html.twig file core/modules/contextual/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/stable9/css/contextual/contextual.theme.css Styling for contextual module.
contextual.toolbar.css file core/themes/stable9/css/contextual/contextual.toolbar.css Styling for contextual module's toolbar tab.
contextual.toolbar.css file core/modules/contextual/css/contextual.toolbar.css Styling for contextual module's toolbar tab.
contextual.views.inc file core/modules/contextual/contextual.views.inc Provide views data for contextual.module.
contextual.views.schema.yml file core/modules/contextual/config/schema/contextual.views.schema.yml core/modules/contextual/config/schema/contextual.views.schema.yml
ContextualController class core/modules/contextual/src/ContextualController.php Returns responses for Contextual module routes.
ContextualController.php file core/modules/contextual/src/ContextualController.php
ContextualController::$renderer property core/modules/contextual/src/ContextualController.php The renderer.
ContextualController::create function core/modules/contextual/src/ContextualController.php Instantiates a new instance of this class.
ContextualController::render function core/modules/contextual/src/ContextualController.php Returns the requested rendered contextual links.
ContextualController::__construct function core/modules/contextual/src/ContextualController.php Constructors a new ContextualController.
ContextualDynamicContextTest class core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Tests contextual link display on the front page based on permissions.
ContextualDynamicContextTest.php file core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
ContextualDynamicContextTest::$anonymousUser property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php A simulated anonymous user with access only to node content.
ContextualDynamicContextTest::$authenticatedUser property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php An authenticated user with permission to access contextual links.
ContextualDynamicContextTest::$defaultTheme property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php The theme to install as the default for testing.

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