You are here

static function ConfigImportEventSubscriber::getSubscribedEvents in ThemeKey 8

File

src/EventSubscriber/ConfigImportEventSubscriber.php, line 32

Class

ConfigImportEventSubscriber
Defines a event listener implementation for config import.

Namespace

Drupal\themekey\EventSubscriber

Code

static function getSubscribedEvents() {
  $events[ConfigEvents::IMPORT_VALIDATE][] = array(
    'onConfigImporterValidate',
    20,
  );
  $events[ConfigEvents::SAVE][] = array(
    'onConfigImporterSave',
    20,
  );
  return $events;
}