function ContextInterface::getContextValue
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::getContextValue()
- 8.9.x core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::getContextValue()
- 11.x core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::getContextValue()
Gets the context value.
Return value
mixed The currently set context value, or NULL if it is not set.
1 method overrides ContextInterface::getContextValue()
- Context::getContextValue in core/
lib/ Drupal/ Component/ Plugin/ Context/ Context.php - Gets the context value.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Context/ ContextInterface.php, line 23
Class
- ContextInterface
- Provides data and definitions for plugins during runtime and administration.
Namespace
Drupal\Component\Plugin\ContextCode
public function getContextValue();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.