function RouteProviderLazyBuilder::getRouteByName
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getRouteByName()
- 8.9.x core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getRouteByName()
- 10 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getRouteByName()
Overrides RouteProviderInterface::getRouteByName
1 call to RouteProviderLazyBuilder::getRouteByName()
- 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\RoutingCode
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.