public function ConfigContext::get

Implements \Drupal\Core\Config\Context\ContextInterface::get().

Overrides ContextInterface::get

File

drupal/core/lib/Drupal/Core/Config/Context/ConfigContext.php, line 77
Contains \Drupal\Core\Config\Context\ConfigContext.

Class

ConfigContext
Defines the base configuration context object.

Namespace

Drupal\Core\Config\Context

Code

public function get($key) {
  return array_key_exists($key, $this->data) ? $this->data[$key] : NULL;
}