public static function RouteSubscriber::getSubscribedEvents in Field Group 8
Same name and namespace in other branches
- 8.3 src/Routing/RouteSubscriber.php \Drupal\field_group\Routing\RouteSubscriber::getSubscribedEvents()
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
Routing/ RouteSubscriber.php, line 154
Class
- RouteSubscriber
- Subscriber for Field group routes.
Namespace
Drupal\field_group\RoutingCode
public static function getSubscribedEvents() {
//$events = parent::getSubscribedEvents();
// Come after field_ui, config_translation.
$events[RoutingEvents::ALTER] = array(
'onAlterRoutes',
-210,
);
return $events;
}