public function ContextInterface::getContextValue in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Plugin/Context/ContextInterface.php \Drupal\Component\Plugin\Context\ContextInterface::getContextValue()
- 9 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();