function CachedStorage::listAll
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::listAll()
- 10 core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::listAll()
- 11.x core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::listAll()
Overrides StorageInterface::listAll
File
-
core/
lib/ Drupal/ Core/ Config/ CachedStorage.php, line 180
Class
- CachedStorage
- Defines the cached storage.
Namespace
Drupal\Core\ConfigCode
public function listAll($prefix = '') {
// Do not cache when a prefix is not provided.
if ($prefix) {
return $this->findByPrefix($prefix);
}
return $this->storage
->listAll();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.