public function ContextInterface::set

Saves a value for a given key.

Parameters

string $key: The key of the data to store.

mixed $value: The data to store.

1 method overrides ContextInterface::set()
ConfigContext::set in drupal/core/lib/Drupal/Core/Config/Context/ConfigContext.php
Implements \Drupal\Core\Config\Context\ContextInterface::set().

File

drupal/core/lib/Drupal/Core/Config/Context/ContextInterface.php, line 52
Contains \Drupal\Core\Config\Context\ContextInterface.

Class

ContextInterface
Defines the configuration context interface.

Namespace

Drupal\Core\Config\Context

Code

public function set($key, $value);