public static function RouteSubscriber::getSubscribedEvents in Taxonomy Views Integrator 8
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
EventSubscriber/ RouteSubscriber.php, line 34
Class
- RouteSubscriber
- Alters the route for using Taxonomy Views Integrator.
Namespace
Drupal\tvi\EventSubscriberCode
public static function getSubscribedEvents() {
// Run after Views subscriber has ran.
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
-200,
];
return $events;
}