function AllowListConfigStorage::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/ AllowListConfigStorage.php, line 53
Class
- AllowListConfigStorage
- A read-only storage wrapper that only allows access to certain config names.
Namespace
Drupal\Core\RecipeCode
public function readMultiple(array $names) : array {
$names = array_intersect($names, $this->allowList);
return $this->decorated
->readMultiple($names);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.