public function ContextInterface::getContextValue in Service Container 7.2
Same name and namespace in other branches
- 7 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 lib/
Drupal/ Component/ Plugin/ Context/ Context.php - Gets the context value.
File
- lib/
Drupal/ Component/ Plugin/ Context/ ContextInterface.php, line 21 - Contains \Drupal\Component\Plugin\Context\ContextInterface.
Class
- ContextInterface
- A generic context interface for wrapping data a plugin needs to operate.
Namespace
Drupal\Component\Plugin\ContextCode
public function getContextValue();