You are here

public static function RouteSubscriber::getSubscribedEvents in Menu item content fields 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

modules/menu_item_fields_ui/src/Routing/RouteSubscriber.php, line 38

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\menu_item_fields_ui\Routing

Code

public static function getSubscribedEvents() {
  $events = parent::getSubscribedEvents();
  $events[RoutingEvents::ALTER] = [
    'onAlterRoutes',
    -200,
  ];
  return $events;
}