function RouteProvider::getRouteAliases

Same name in this branch
  1. 11.x core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::getRouteAliases()

Overrides RouteProviderInterface::getRouteAliases

File

core/tests/Drupal/KernelTests/RouteProvider.php, line 105

Class

RouteProvider
Rebuilds the router when the provider is instantiated.

Namespace

Drupal\KernelTests

Code

public function getRouteAliases(string $route_name) : iterable {
    return $this->lazyLoadItself()
        ->getRouteAliases($route_name);
}

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