You are here

public function ConfigFactory::get in Drupal 8

Same name and namespace in other branches
  1. 9 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 88

Class

ConfigFactory
Defines the configuration object factory.

Namespace

Drupal\Core\Config

Code

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