ConfigCollectionEvents::SAVE_IN_COLLECTION
Same name in other branches
- 10 core/lib/Drupal/Core/Config/ConfigCollectionEvents.php \Drupal\Core\Config\ConfigCollectionEvents::SAVE_IN_COLLECTION
Event dispatched when saving configuration not in the default collection.
This event allows modules to react whenever an object that extends \Drupal\Core\Config\StorableConfigBase is saved 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::SAVE instead.
See also
\Drupal\Core\Config\ConfigCrudEvent
\Drupal\Core\Config\ConfigFactoryOverrideInterface::createConfigObject()
\Drupal\language\Config\LanguageConfigOverride::save()
\Drupal\Core\Config\ConfigEvents::SAVE
Related topics
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigCollectionEvents.php, line 42
Class
- ConfigCollectionEvents
- Defines events for working with configuration collections.
Namespace
Drupal\Core\ConfigCode
const SAVE_IN_COLLECTION = 'config.save.collection';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.