You are here

public function ConfigFactory::get in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::get()

Returns an immutable configuration object for a given name.

Parameters

string $name: The name of the configuration object to construct.

Return value

\Drupal\Core\Config\ImmutableConfig A configuration object.

Overrides ConfigFactoryInterface::get

1 call to ConfigFactory::get()
ConfigFactory::rename in core/lib/Drupal/Core/Config/ConfigFactory.php
Renames a configuration object using the storage.

File

core/lib/Drupal/Core/Config/ConfigFactory.php, line 93
Contains \Drupal\Core\Config\ConfigFactory.

Class

ConfigFactory
Defines the configuration object factory.

Namespace

Drupal\Core\Config

Code

public function get($name) {
  return $this
    ->doGet($name);
}