You are here

public static function ConfigSubscriber::getSubscribedEvents in Menu Link Weight 8

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

File

src/EventSubscriber/ConfigSubscriber.php, line 45

Class

ConfigSubscriber

Namespace

Drupal\menu_link_weight\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ConfigEvents::SAVE][] = [
    'onConfigSave',
    0,
  ];
  return $events;
}