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

Breadcrumb

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

function RouteProviderLazyBuilder::getRouteByName

Overrides RouteProviderInterface::getRouteByName

2 calls to RouteProviderLazyBuilder::getRouteByName()
InstallerRouteProviderLazyBuilder::getRouteByName in core/lib/Drupal/Core/Installer/InstallerRouteProviderLazyBuilder.php
Find the route using the provided route name.
InstallerRouteProviderLazyBuilder::getRouteByName in core/lib/Drupal/Core/Installer/InstallerRouteProviderLazyBuilder.php
Find the route using the provided route name.
1 method overrides RouteProviderLazyBuilder::getRouteByName()
InstallerRouteProviderLazyBuilder::getRouteByName in core/lib/Drupal/Core/Installer/InstallerRouteProviderLazyBuilder.php
Find the route using the provided route name.

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);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal