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