You are here

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\EventSubscriber

Code

public function onConfigRename(ConfigRenameEvent $event) {
  $this
    ->autoExportConfig($event
    ->getConfig());
}