Sets the context value.
Parameters
mixed $value:
The value of this context, matching the context definition.
See also
\Drupal\Component\Plugin\Context\ContextInterface::setContextDefinition().
File
- drupal/core/lib/Drupal/Component/Plugin/Context/ContextInterface.php, line 23
- 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 setContextValue($value);