You are here

public function ConfigManager::getConfigCollectionInfo in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::getConfigCollectionInfo()
  2. 9 core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::getConfigCollectionInfo()

File

core/lib/Drupal/Core/Config/ConfigManager.php, line 389

Class

ConfigManager
The ConfigManager provides helper functions for the configuration system.

Namespace

Drupal\Core\Config

Code

public function getConfigCollectionInfo() {
  if (!isset($this->configCollectionInfo)) {
    $this->configCollectionInfo = new ConfigCollectionInfo();
    $this->eventDispatcher
      ->dispatch($this->configCollectionInfo, ConfigEvents::COLLECTION_INFO);
  }
  return $this->configCollectionInfo;
}