You are here

public static function ConfigSyncSnapshotSubscriber::getSubscribedEvents in Configuration Synchronizer 8.2

Registers the methods in this class that should be listeners.

Return value

array An array of event listener definitions.

File

src/EventSubscriber/ConfigSyncSnapshotSubscriber.php, line 92

Class

ConfigSyncSnapshotSubscriber
Updates the snapshot when config is imported.

Namespace

Drupal\config_sync\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ConfigDistroEvents::IMPORT][] = [
    'onConfigDistroImport',
    40,
  ];
  return $events;
}