ConfigEvents::DELETE
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::DELETE
- 10 core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::DELETE
- 11.x core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::DELETE
Name of the event fired when deleting a configuration object.
This event allows modules to perform an action whenever a configuration object is deleted. The event listener method receives a \Drupal\Core\Config\ConfigCrudEvent instance.
See hook_update_N() documentation for safe configuration API usage and restrictions as this event will be fired when configuration is deleted by hook_update_N().
See also
\Drupal\Core\Config\ConfigCrudEvent
\Drupal\Core\Config\Config::delete()
\Drupal\Core\Config\ConfigFactory::onConfigDelete()
Related topics
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigEvents.php, line 54
Class
- ConfigEvents
- Defines events for the configuration system.
Namespace
Drupal\Core\ConfigCode
const DELETE = 'config.delete';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.