Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RouteProvider.php

function RouteProvider::getSubscribedEvents

Overrides EventSubscriberInterface::getSubscribedEvents

File

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

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;
}
RSS feed
Powered by Drupal