RoutingEvents::FINISHED

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/RoutingEvents.php \Drupal\Core\Routing\RoutingEvents::FINISHED
  2. 8.9.x core/lib/Drupal/Core/Routing/RoutingEvents.php \Drupal\Core\Routing\RoutingEvents::FINISHED
  3. 11.x core/lib/Drupal/Core/Routing/RoutingEvents.php \Drupal\Core\Routing\RoutingEvents::FINISHED

Name of the event fired to indicate route building has ended.

This event gives modules the opportunity to perform some action after route building has completed. The event listener receives a \Drupal\Component\EventDispatcher\Event instance.

See also

\Drupal\Component\EventDispatcher\Event

\Drupal\Core\EventSubscriber\MenuRouterRebuildSubscriber

\Drupal\Core\Routing\RouteBuilder::rebuild()

Related topics

File

core/lib/Drupal/Core/Routing/RoutingEvents.php, line 61

Class

RoutingEvents
Contains all events thrown in the core routing component.

Namespace

Drupal\Core\Routing

Code

const FINISHED = 'routing.route_finished';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.