function AllowListConfigStorage::read
Reads configuration data from the storage.
Parameters
string $name: The name of a configuration object to load.
Return value
array|false The configuration data stored for the configuration object name. If no configuration data exists for the given name, FALSE is returned.
Overrides StorageInterface::read
File
-
core/
lib/ Drupal/ Core/ Recipe/ AllowListConfigStorage.php, line 46
Class
- AllowListConfigStorage
- A read-only storage wrapper that only allows access to certain config names.
Namespace
Drupal\Core\RecipeCode
public function read($name) : array|false {
return $this->exists($name) ? $this->decorated
->read($name) : FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.