public function CachedStorage::listAll in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::listAll()
- 9 core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::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();
}