You are here

public static function RouteSubscriber::getSubscribedEvents in Menu Admin per Menu 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/RouteSubscriber.php, line 52

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\menu_admin_per_menu\Routing

Code

public static function getSubscribedEvents() {

  // Run after content_translation, which has priority -210.
  $events[RoutingEvents::ALTER] = [
    'onAlterRoutes',
    -220,
  ];
  return $events;
}