function ConfigManager::getConfigCollectionInfo

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::getConfigCollectionInfo()
  2. 10 core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::getConfigCollectionInfo()
  3. 11.x core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::getConfigCollectionInfo()

Overrides ConfigManagerInterface::getConfigCollectionInfo

File

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

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(ConfigEvents::COLLECTION_INFO, $this->configCollectionInfo);
    }
    return $this->configCollectionInfo;
}

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