function RecipeConfigStorageWrapper::readMultiple
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php \Drupal\Core\Recipe\RecipeConfigStorageWrapper::readMultiple()
Reads configuration data from the storage.
Parameters
array $names: List of names of the configuration objects to load.
Return value
array A list of the configuration data stored for the configuration object name that could be loaded for the passed list of names.
Overrides StorageInterface::readMultiple
File
-
core/
lib/ Drupal/ Core/ Recipe/ RecipeConfigStorageWrapper.php, line 82
Class
- RecipeConfigStorageWrapper
- Merges two storages together.
Namespace
Drupal\Core\RecipeCode
public function readMultiple(array $names) : array {
// If both storageA and storageB contain the same configuration, the value
// for storageA takes precedence.
return array_merge($this->storageB
->readMultiple($names), $this->storageA
->readMultiple($names));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.