function ConfigFactoryInterface::loadMultiple
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::loadMultiple()
- 8.9.x core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::loadMultiple()
- 10 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::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.
1 method overrides ConfigFactoryInterface::loadMultiple()
- ConfigFactory::loadMultiple in core/
lib/ Drupal/ Core/ Config/ ConfigFactory.php - Returns a list of configuration objects for the given names.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigFactoryInterface.php, line 51
Class
- ConfigFactoryInterface
- Defines the interface for a configuration object factory.
Namespace
Drupal\Core\ConfigCode
public function loadMultiple(array $names);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.