public function ReadOnlyStorage::getAllCollectionNames in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/ReadOnlyStorage.php \Drupal\Core\Config\ReadOnlyStorage::getAllCollectionNames()
Gets the existing collections.
A configuration storage can contain multiple sets of configuration objects in partitioned collections. The collection key name identifies the current collection used.
Return value
array An array of existing collection names.
Overrides StorageInterface::getAllCollectionNames
File
- core/
lib/ Drupal/ Core/ Config/ ReadOnlyStorage.php, line 107
Class
- ReadOnlyStorage
- A ReadOnlyStorage decorates a storage and does not allow writing to it.
Namespace
Drupal\Core\ConfigCode
public function getAllCollectionNames() {
return $this->storage
->getAllCollectionNames();
}