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