You are here

public function ConfigDevelAutoExportSubscriber::onConfigSave in Configuration development 8

React to configuration ConfigEvent::SAVE events.

Parameters

\Drupal\Core\Config\ConfigCrudEvent $event: The event to process.

File

src/EventSubscriber/ConfigDevelAutoExportSubscriber.php, line 62

Class

ConfigDevelAutoExportSubscriber
ConfigDevelAutoExportSubscriber subscriber for configuration CRUD events.

Namespace

Drupal\config_devel\EventSubscriber

Code

public function onConfigSave(ConfigCrudEvent $event) {
  $this
    ->autoExportConfig($event
    ->getConfig());
}