You are here

protected property RouteProvider::$routes in Drupal 10

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

A cache of already-loaded routes, keyed by route name.

Type: \Symfony\Component\Routing\Route[]

File

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

Class

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

Namespace

Drupal\Core\Routing

Code

protected $routes = [];