public static function RouteSubscriber::getSubscribedEvents in Page Manager 8
Same name and namespace in other branches
- 8.4 tests/modules/page_manager_routing_test/src/Routing/RouteSubscriber.php \Drupal\page_manager_routing_test\Routing\RouteSubscriber::getSubscribedEvents()
File
- tests/
modules/ page_manager_routing_test/ src/ Routing/ RouteSubscriber.php, line 46
Class
- RouteSubscriber
- Route subscriber for Page Manager Routing Test.
Namespace
Drupal\page_manager_routing_test\RoutingCode
public static function getSubscribedEvents() {
// Run before PageManagerRoutes.
$events[RoutingEvents::ALTER][] = [
'beforePageManagerRoutes',
-155,
];
// Run after PageManagerRoutes.
$events[RoutingEvents::ALTER][] = [
'afterPageManagerRoutes',
-165,
];
return $events;
}