public function ConfigFactory::loadMultiple in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::loadMultiple()
Returns a list of configuration objects for the given names.
This will pre-load all requested configuration objects does not create new configuration objects. This method always return immutable objects. ConfigFactoryInterface::getEditable() should be used to retrieve mutable configuration objects, one by one.
Parameters
array $names: List of names of configuration objects.
Return value
\Drupal\Core\Config\ImmutableConfig[] List of successfully loaded configuration objects, keyed by name.
Overrides ConfigFactoryInterface::loadMultiple
File
- core/
lib/ Drupal/ Core/ Config/ ConfigFactory.php, line 140 - Contains \Drupal\Core\Config\ConfigFactory.
Class
- ConfigFactory
- Defines the configuration object factory.
Namespace
Drupal\Core\ConfigCode
public function loadMultiple(array $names) {
return $this
->doLoadMultiple($names);
}