public function 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 drupal/core/lib/Drupal/Component/Plugin/Context/Context.php
Implements \Drupal\Component\Plugin\Context\ContextInterface::getContextValue().

File

drupal/core/lib/Drupal/Component/Plugin/Context/ContextInterface.php, line 31
Contains \Drupal\Component\Plugin\Context\ContextInterface.

Class

ContextInterface
A generic context interface for wrapping data a plugin needs to operate.

Namespace

Drupal\Component\Plugin\Context

Code

public function getContextValue();