public function ConfigManager::getConfigCollectionInfo in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::getConfigCollectionInfo()
- 10 core/lib/Drupal/Core/Config/ConfigManager.php \Drupal\Core\Config\ConfigManager::getConfigCollectionInfo()
Gets available collection information using the event system.
Return value
\Drupal\Core\Config\ConfigCollectionInfo The object which contains information about the available collections.
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\ConfigCode
public function getConfigCollectionInfo() {
if (!isset($this->configCollectionInfo)) {
$this->configCollectionInfo = new ConfigCollectionInfo();
$this->eventDispatcher
->dispatch(ConfigEvents::COLLECTION_INFO, $this->configCollectionInfo);
}
return $this->configCollectionInfo;
}