You are here

public static function RouteProvider::getSubscribedEvents in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::getSubscribedEvents()
  2. 9 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::getSubscribedEvents()

File

core/lib/Drupal/Core/Routing/RouteProvider.php, line 427

Class

RouteProvider
A Route Provider front-end for all Drupal-stored routes.

Namespace

Drupal\Core\Routing

Code

public static function getSubscribedEvents() : array {
  $events[RoutingEvents::FINISHED][] = [
    'reset',
  ];
  return $events;
}