public static function RouteSubscriber::getSubscribedEvents in Automatic Entity Label 8.3
Same name and namespace in other branches
- 8 src/Routing/RouteSubscriber.php \Drupal\auto_entitylabel\Routing\RouteSubscriber::getSubscribedEvents()
- 8.2 src/Routing/RouteSubscriber.php \Drupal\auto_entitylabel\Routing\RouteSubscriber::getSubscribedEvents()
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
Routing/ RouteSubscriber.php, line 79
Class
- RouteSubscriber
- Subscriber for auto_entitylabel routes.
Namespace
Drupal\auto_entitylabel\RoutingCode
public static function getSubscribedEvents() {
$events = parent::getSubscribedEvents();
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
-100,
];
return $events;
}