public function ConfigFactoryInterface::get in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::get()
- 9 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.
File
- core/
lib/ Drupal/ Core/ Config/ ConfigFactoryInterface.php, line 21
Class
- ConfigFactoryInterface
- Defines the interface for a configuration object factory.
Namespace
Drupal\Core\ConfigCode
public function get($name);