function NullStorage::getAllCollectionNames
Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Config/NullStorage.php \Drupal\Core\Config\NullStorage::getAllCollectionNames()
- 10 core/lib/Drupal/Core/Config/NullStorage.php \Drupal\Core\Config\NullStorage::getAllCollectionNames()
- 11.x core/lib/Drupal/Core/Config/NullStorage.php \Drupal\Core\Config\NullStorage::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/ NullStorage.php, line 119
Class
- NullStorage
- Defines a stub storage.
Namespace
Drupal\Core\ConfigCode
public function getAllCollectionNames() {
// Returns only non empty collections.
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.