function ConfigFactoryInterface::get

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::get()
  2. 10 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::get()
  3. 11.x core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::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.

1 method overrides ConfigFactoryInterface::get()
ConfigFactory::get in core/lib/Drupal/Core/Config/ConfigFactory.php
Returns an immutable configuration object for a given name.

File

core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 21

Class

ConfigFactoryInterface
Defines the interface for a configuration object factory.

Namespace

Drupal\Core\Config

Code

public function get($name);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.