ConfigFactory::createConfigObject
protected function ConfigFactory::createConfigObject
protected ConfigFactory::createConfigObject($name, $immutable)
Creates a configuration object.
Parameters
string $name: Configuration object name.
bool $immutable: Determines whether a mutable or immutable config object is returned.
Return value
\Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig The configuration object.
File
- core/lib/Drupal/Core/Config/ConfigFactory.php, line 392