function RouteProviderLazyBuilder::preLoadRoutes

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::preLoadRoutes()
  2. 10 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::preLoadRoutes()
  3. 11.x core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::preLoadRoutes()

Overrides PreloadableRouteProviderInterface::preLoadRoutes

File

core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php, line 89

Class

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

Namespace

Drupal\Core\Routing

Code

public function preLoadRoutes($names) {
    return $this->getRouteProvider()
        ->preLoadRoutes($names);
}

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