ConfigFactory::get

public ConfigFactory::get($name)

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

File

core/lib/Drupal/Core/Config/ConfigFactory.php, line 88

Class

ConfigFactory
Defines the configuration object factory.

Namespace

Drupal\Core\Config

Code

1
2
3
public function get($name) {
  return $this->doGet($name);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.