You are here

public static function PageManagerRoutes::getSubscribedEvents in Page Manager 8.4

Same name and namespace in other branches
  1. 8 src/Routing/PageManagerRoutes.php \Drupal\page_manager\Routing\PageManagerRoutes::getSubscribedEvents()

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/PageManagerRoutes.php, line 155

Class

PageManagerRoutes
Provides routes for page entities.

Namespace

Drupal\page_manager\Routing

Code

public static function getSubscribedEvents() {

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