public function ContextInterface::get

Returns the stored value for a given key.

Parameters

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

Return value

mixed The stored value, or NULL if no value exists.

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

File

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

Class

ContextInterface
Defines the configuration context interface.

Namespace

Drupal\Core\Config\Context

Code

public function get($key);