Search for getContextValue

  1. Search 7.x for getContextValue
  2. Search 9.5.x for getContextValue
  3. Search 8.9.x for getContextValue
  4. Search 10.3.x for getContextValue
  5. Other projects
Title Object type File name Summary
Context::getContextValue function core/lib/Drupal/Core/Plugin/Context/Context.php Gets the context value.
Context::getContextValue function core/lib/Drupal/Component/Plugin/Context/Context.php Gets the context value.
ContextAwarePluginInterface::getContextValue function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the value for a defined context.
ContextAwarePluginInterface::getContextValues function core/lib/Drupal/Component/Plugin/ContextAwarePluginInterface.php Gets the values for all defined contexts.
ContextAwarePluginTrait::getContextValue function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTrait::getContextValues function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextAwarePluginTraitTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php @covers ::getContextValue
ContextInterface::getContextValue function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Gets the context value.
ContextTest::providerGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Data provider for testGetContextValue.
ContextTest::testGetContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @covers ::getContextValue
@dataProvider providerGetContextValue
ContextTypedDataTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Tests that getting a context value does not throw fatal errors.

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