function RouteProcessorCurrent::__construct
Same name in other branches
- 8.9.x core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php \Drupal\Core\RouteProcessor\RouteProcessorCurrent::__construct()
- 10 core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php \Drupal\Core\RouteProcessor\RouteProcessorCurrent::__construct()
- 11.x core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php \Drupal\Core\RouteProcessor\RouteProcessorCurrent::__construct()
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\RouteProcessorCode
public function __construct(RouteMatchInterface $route_match) {
$this->routeMatch = $route_match;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.