public function SourceStorage::readMultiple in Configuration installer 8
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
- src/
Storage/ SourceStorage.php, line 64
Class
- SourceStorage
- Wraps the sync storage so the config_installer can make modifications.
Namespace
Drupal\config_installer\StorageCode
public function readMultiple(array $names) {
$list = [];
foreach ($names as $name) {
if ($data = $this
->read($name)) {
$list[$name] = $data;
}
}
return $list;
}