function RouteProcessor::__construct

Constructs a RouteProcessor object.

Parameters

\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider.

File

core/modules/path/src/Routing/RouteProcessor.php, line 28

Class

RouteProcessor
Processes the backwards-compatibility layer for path alias routes.

Namespace

Drupal\path\Routing

Code

public function __construct(RouteProviderInterface $route_provider) {
    $this->routeProvider = $route_provider;
}

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