RouteProcessorCurrent::__construct

public RouteProcessorCurrent::__construct(RouteMatchInterface $route_match)

Constructs a new RouteProcessorCurrent.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

File

core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php, line 27

Class

RouteProcessorCurrent
Provides a route processor to replace <current>.

Namespace

Drupal\Core\RouteProcessor

Code

public function __construct(RouteMatchInterface $route_match) {
  $this->routeMatch = $route_match;
}
doc_Drupal
2016-10-29 09:39:13
Comments
Leave a Comment

Please login to continue.