public function ContextInterface::setContextValue

Sets the context value.

Parameters

mixed $value: The value of this context, matching the context definition.

See also

\Drupal\Component\Plugin\Context\ContextInterface::setContextDefinition().

1 method overrides ContextInterface::setContextValue()
Context::setContextValue in drupal/core/lib/Drupal/Component/Plugin/Context/Context.php
Implements \Drupal\Component\Plugin\Context\ContextInterface::setContextValue().

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);