You are here

public static function RouteSubscriber::getSubscribedEvents in Varbase Total Control Dashboard 8

Same name and namespace in other branches
  1. 8.6 src/Routing/RouteSubscriber.php \Drupal\varbase_total_control\Routing\RouteSubscriber::getSubscribedEvents()
  2. 8.5 src/Routing/RouteSubscriber.php \Drupal\varbase_total_control\Routing\RouteSubscriber::getSubscribedEvents()
  3. 9.0.x src/Routing/RouteSubscriber.php \Drupal\varbase_total_control\Routing\RouteSubscriber::getSubscribedEvents()

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/RouteSubscriber.php, line 29

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\varbase_total_control\Routing

Code

public static function getSubscribedEvents() {

  // Run after PageManagerRoutesAlterSubscriber.
  $events[RoutingEvents::ALTER][] = [
    'onAlterRoutes',
    -170,
  ];
  return $events;
}