Commit 5e6b9a3b authored by catch's avatar catch

Issue #2682367 by leolando.tan: Wrong comment in AdminRouteSubscriber::getSubscribedEvents

parent 26b14bc5
......@@ -33,10 +33,9 @@ protected function alterRoutes(RouteCollection $collection) {
public static function getSubscribedEvents() {
$events = parent::getSubscribedEvents();
// Use a higher priority than \Drupal\field_ui\Routing\RouteSubscriber or
// \Drupal\views\EventSubscriber\RouteSubscriber to ensure we add the
// option to their routes.
// @todo https://www.drupal.org/node/2158571
// Use a lower priority than \Drupal\field_ui\Routing\RouteSubscriber or
// \Drupal\views\EventSubscriber\RouteSubscriber to ensure we add the option
// to their routes.
$events[RoutingEvents::ALTER] = array('onAlterRoutes', -200);
return $events;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment