You are here

public static function ConfigEventSubscriber::getSubscribedEvents in Tome 8

File

modules/tome_sync/src/EventSubscriber/ConfigEventSubscriber.php, line 75

Class

ConfigEventSubscriber
Keeps the config export directory synced with config CRUD operations.

Namespace

Drupal\tome_sync\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ConfigEvents::SAVE][] = [
    'configSave',
  ];
  $events[ConfigEvents::DELETE][] = [
    'configDelete',
  ];
  $events[ConfigEvents::RENAME][] = [
    'configRename',
  ];
  return $events;
}