public static function PanopolySearchRouteSubscriber::getSubscribedEvents in Panopoly 8.2
Overrides RouteSubscriberBase::getSubscribedEvents
File
- modules/
panopoly/ panopoly_search/ src/ Routing/ PanopolySearchRouteSubscriber.php, line 17
Class
- PanopolySearchRouteSubscriber
- Removes module dependency from /admin/reports/search.
Namespace
Drupal\panopoly_search\RoutingCode
public static function getSubscribedEvents() {
// We need to run before ModuleRouteSubscriber.
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
100,
];
return $events;
}