function StorageInterface::getAllCollectionNames

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::getAllCollectionNames()
  2. 10 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::getAllCollectionNames()
  3. 8.9.x core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::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.

1 method overrides StorageInterface::getAllCollectionNames()
MemoryStorage::getAllCollectionNames in core/lib/Drupal/Core/Config/MemoryStorage.php
Gets the existing collections.

File

core/lib/Drupal/Core/Config/StorageInterface.php, line 191

Class

StorageInterface
Defines an interface for configuration storage.

Namespace

Drupal\Core\Config

Code

public function getAllCollectionNames();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.