function AutoloadingStorage::read
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Config/AutoloadingStorage.php \Drupal\Core\Config\AutoloadingStorage::read()
File
-
core/
lib/ Drupal/ Core/ Config/ AutoloadingStorage.php, line 55
Class
- AutoloadingStorage
- Defines the autoloading storage.
Namespace
Drupal\Core\ConfigCode
public function read($name) : array|false {
$this->classloader?->register(TRUE);
try {
$data = $this->storage
->read($name);
} finally {
$this->classloader?->unregister();
}
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.