constant ConfigEvents::RENAME in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::RENAME
Name of the event fired when renaming a configuration object.
This event allows modules to perform an action whenever a configuration object's name is changed. The event listener method receives a \Drupal\Core\Config\ConfigRenameEvent instance.
See hook_update_N() documentation for safe configuration API usage and restrictions as this event will be fired when configuration is renamed by hook_update_N().
See also
\Drupal\Core\Config\ConfigRenameEvent
\Drupal\Core\Config\ConfigFactoryInterface::rename()
Related topics
File
- core/
lib/ Drupal/ Core/ Config/ ConfigEvents.php, line 80 - Contains \Drupal\Core\Config\ConfigEvents.
Class
- ConfigEvents
- Defines events for the configuration system.
Namespace
Drupal\Core\ConfigCode
const RENAME = 'config.rename';