You are here

public function RouteProcessor::__construct in Drupal 8

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