static function ConfigImportSubscriber::getSubscribedEvents

Registers the methods in this class that should be listeners.

Return value

array An array of event listener definitions.

Overrides EventSubscriberInterface::getSubscribedEvents

File

drupal/core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php, line 42
Contains \Drupal\Core\EventSubscriber\ConfigImportSubscriber.

Class

ConfigImportSubscriber
Config import subscriber for config import events.

Namespace

Drupal\Core\EventSubscriber

Code

static function getSubscribedEvents() {
  $events['config.importer.validate'][] = array(
    'onConfigImporterValidate',
    40,
  );
  $events['config.installer.validate'][] = array(
    'onConfigImporterValidate',
    40,
  );
  return $events;
}