function FileStorage::readMultiple
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::readMultiple()
- 10 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::readMultiple()
- 11.x core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::readMultiple()
Overrides StorageInterface::readMultiple
File
-
core/
lib/ Drupal/ Core/ Config/ FileStorage.php, line 128
Class
- FileStorage
- Defines the file storage.
Namespace
Drupal\Core\ConfigCode
public function readMultiple(array $names) {
$list = [];
foreach ($names as $name) {
if ($data = $this->read($name)) {
$list[$name] = $data;
}
}
return $list;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.