You are here

abstract public function ConfigFactoryOverrideBase::addCollections in Drupal 10

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

Reacts to the ConfigEvents::COLLECTION_INFO event.

Parameters

\Drupal\Core\Config\ConfigCollectionInfo $collection_info: The configuration collection info event.

2 methods override ConfigFactoryOverrideBase::addCollections()
LanguageConfigFactoryOverride::addCollections in core/modules/language/src/Config/LanguageConfigFactoryOverride.php
Reacts to the ConfigEvents::COLLECTION_INFO event.
TestConfigFactoryOverrideBase::addCollections in core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php
Reacts to the ConfigEvents::COLLECTION_INFO event.

File

core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php, line 18

Class

ConfigFactoryOverrideBase
Defines a base event listener implementation configuration overrides.

Namespace

Drupal\Core\Config

Code

public abstract function addCollections(ConfigCollectionInfo $collection_info);