You are here

public static function RouteSubscriber::getSubscribedEvents in Total Control Admin Dashboard 8.2

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

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/RouteSubscriber.php, line 26

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\total_control\Routing

Code

public static function getSubscribedEvents() {

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