public function ConfigDevelAutoExportSubscriber::onConfigRename in Configuration development 8
React to configuration ConfigEvent::RENAME events.
Parameters
\Drupal\Core\Config\ConfigRenameEvent $event: The event to process.
File
- src/
EventSubscriber/ ConfigDevelAutoExportSubscriber.php, line 72
Class
- ConfigDevelAutoExportSubscriber
- ConfigDevelAutoExportSubscriber subscriber for configuration CRUD events.
Namespace
Drupal\config_devel\EventSubscriberCode
public function onConfigRename(ConfigRenameEvent $event) {
$this
->autoExportConfig($event
->getConfig());
}