You are here

public static function RouteSubscriber::getSubscribedEvents in Web Service Data 8

Same name and namespace in other branches
  1. 2.0.x modules/wsdata_field/src/Routing/RouteSubscriber.php \Drupal\wsdata_field\Routing\RouteSubscriber::getSubscribedEvents()

Overrides RouteSubscriberBase::getSubscribedEvents

File

modules/wsdata_field/src/Routing/RouteSubscriber.php, line 89

Class

RouteSubscriber
Subscriber for Field UI routes.

Namespace

Drupal\wsdata_field\Routing

Code

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