ConfigCollectionEvents::RENAME_IN_COLLECTION
Same name in other branches
- 10 core/lib/Drupal/Core/Config/ConfigCollectionEvents.php \Drupal\Core\Config\ConfigCollectionEvents::RENAME_IN_COLLECTION
Event dispatched when renaming configuration not in the default collection.
This event allows modules to react whenever an object that extends \Drupal\Core\Config\StorableConfigBase is renamed in a non-default collection. The event listener method receives a \Drupal\Core\Config\ConfigCrudEvent instance.
Note: this event is not used for configuration in the default collection. See \Drupal\Core\Config\ConfigEvents::RENAME instead.
See also
\Drupal\Core\Config\ConfigEvents::RENAME
\Drupal\Core\Config\ConfigCrudEvent
\Drupal\Core\Config\ConfigFactoryOverrideInterface::createConfigObject()
Related topics
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigCollectionEvents.php, line 85
Class
- ConfigCollectionEvents
- Defines events for working with configuration collections.
Namespace
Drupal\Core\ConfigCode
const RENAME_IN_COLLECTION = 'config.rename.collection';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.