public RoutePreloader::onFinishedRoutes(Event $event)
Store the non admin routes in state when the route building is finished.
\Symfony\Component\EventDispatcher\Event $event: The route finish event.
public function onFinishedRoutes(Event $event) { $this->state->set('routing.non_admin_routes', $this->nonAdminRoutesOnRebuild); $this->nonAdminRoutesOnRebuild = array(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!RoutePreloader.php/function/RoutePreloader::onFinishedRoutes/8.1.x