function RouteProviderLazyBuilder::getSubscribedEvents
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getSubscribedEvents()
- 10 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getSubscribedEvents()
- 11.x core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getSubscribedEvents()
File
-
core/
lib/ Drupal/ Core/ Routing/ RouteProviderLazyBuilder.php, line 151
Class
- RouteProviderLazyBuilder
- A Route Provider front-end for all Drupal-stored routes.
Namespace
Drupal\Core\RoutingCode
public static function getSubscribedEvents() {
$events[RoutingEvents::DYNAMIC][] = [
'routerRebuilding',
3000,
];
$events[RoutingEvents::FINISHED][] = [
'routerRebuildFinished',
-3000,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.