function Router::match
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/Router.php \Drupal\Core\Routing\Router::match()
- 8.9.x core/lib/Drupal/Core/Routing/Router.php \Drupal\Core\Routing\Router::match()
- 10 core/lib/Drupal/Core/Routing/Router.php \Drupal\Core\Routing\Router::match()
File
-
core/
lib/ Drupal/ Core/ Routing/ Router.php, line 100
Class
- Router
- Router implementation in Drupal.
Namespace
Drupal\Core\RoutingCode
public function match($pathinfo) : array {
$request = Request::create($pathinfo);
return $this->matchRequest($request);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.