function RouteProviderLazyBuilder::getRouteByName

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getRouteByName()
  2. 8.9.x core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getRouteByName()
  3. 11.x core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getRouteByName()
1 call to RouteProviderLazyBuilder::getRouteByName()
InstallerRouteProviderLazyBuilder::getRouteByName in core/lib/Drupal/Core/Installer/InstallerRouteProviderLazyBuilder.php
1 method overrides RouteProviderLazyBuilder::getRouteByName()
InstallerRouteProviderLazyBuilder::getRouteByName in core/lib/Drupal/Core/Installer/InstallerRouteProviderLazyBuilder.php

File

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

Class

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

Namespace

Drupal\Core\Routing

Code

public function getRouteByName($name) {
    return $this->getRouteProvider()
        ->getRouteByName($name);
}

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