Search for getContextValue

  1. Search 7.x for getContextValue
  2. Search 9.5.x for getContextValue
  3. Search 10.3.x for getContextValue
  4. Search 11.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.
ContextAwarePluginBase::getContextValue function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the value for a defined context.
ContextAwarePluginBase::getContextValues function core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php Gets the values for all defined contexts.
ContextAwarePluginBaseTest::testGetContextValue function core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php @covers ::getContextValue
@group legacy
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.
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.