public function Context::setContextValue

Same name in this branch
  1. 8.x drupal/core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::setContextValue()
  2. 8.x drupal/core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::setContextValue()

Implements \Drupal\Component\Plugin\Context\ContextInterface::setContextValue().

Overrides ContextInterface::setContextValue

1 call to Context::setContextValue()
1 method overrides Context::setContextValue()

File

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

Class

Context
A generic context class for wrapping data a plugin needs to operate.

Namespace

Drupal\Component\Plugin\Context

Code

public function setContextValue($value) {
  $this->contextValue = $value;
}