public function RouteProvider::getRouteByName in Drupal 8
Same name in this branch
- 8 core/tests/Drupal/KernelTests/RouteProvider.php \Drupal\KernelTests\RouteProvider::getRouteByName()
- 8 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::getRouteByName()
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/RouteProvider.php \Drupal\KernelTests\RouteProvider::getRouteByName()
File
- core/
tests/ Drupal/ KernelTests/ RouteProvider.php, line 42
Class
- RouteProvider
- Rebuilds the router when the provider is instantiated.
Namespace
Drupal\KernelTestsCode
public function getRouteByName($name) {
return $this
->lazyLoadItself()
->getRouteByName($name);
}