Returns a configuration object for a given name and context.
string $name: The name of the configuration object to construct.
\Drupal\Core\Config\Config A configuration object.
public function get($name) {
$context = $this
->getContext();
$cache_key = $this
->getCacheKey($name, $context);
if (isset($this->cache[$cache_key])) {
return $this->cache[$cache_key];
}
$this->cache[$cache_key] = new Config($name, $this->storage, $context);
return $this->cache[$cache_key]
->init();
}