You are here

public static function ConfigSubscriber::getSubscribedEvents in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/EventSubscriber/ConfigSubscriber.php \Drupal\group\EventSubscriber\ConfigSubscriber::getSubscribedEvents()

File

src/EventSubscriber/ConfigSubscriber.php, line 61

Class

ConfigSubscriber
Reacts to configuration imports.

Namespace

Drupal\group\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ConfigEvents::IMPORT] = 'onConfigImport';
  return $events;
}