ConfigEvents::COLLECTION_INFO

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::COLLECTION_INFO
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::COLLECTION_INFO

Name of event fired to collect information on all config collections.

This event allows modules to add to the list of configuration collections retrieved by \Drupal\Core\Config\ConfigManager::getConfigCollectionInfo(). The event listener method receives a \Drupal\Core\Config\ConfigCollectionInfo instance.

Deprecated

in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Config\ConfigCollectionEvents::COLLECTION_INFO instead.

See also

\Drupal\Core\Config\ConfigCollectionInfo

\Drupal\Core\Config\ConfigManager::getConfigCollectionInfo()

\Drupal\Core\Config\ConfigFactoryOverrideBase

https://www.drupal.org/node/3406105

Related topics

File

core/lib/Drupal/Core/Config/ConfigEvents.php, line 149

Class

ConfigEvents
Defines events for the configuration system.

Namespace

Drupal\Core\Config

Code

const COLLECTION_INFO = ConfigCollectionEvents::COLLECTION_INFO;

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