You are here

public static function LanguageConfigEventSubscriber::getSubscribedEvents in Tome 8

File

modules/tome_sync/src/EventSubscriber/LanguageConfigEventSubscriber.php, line 67

Class

LanguageConfigEventSubscriber
Keeps the config export directory synced with language config operations.

Namespace

Drupal\tome_sync\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[LanguageConfigOverrideEvents::SAVE_OVERRIDE][] = [
    'configSave',
  ];
  $events[LanguageConfigOverrideEvents::DELETE_OVERRIDE][] = [
    'configDelete',
  ];
  return $events;
}