function AccessAwareRouter::match
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::match()
- 8.9.x core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::match()
- 10 core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::match()
Throws
\Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException Thrown when access checking failed.
Overrides AccessAwareRouterInterface::match
File
-
core/
lib/ Drupal/ Core/ Routing/ AccessAwareRouter.php, line 140
Class
- AccessAwareRouter
- A router class for Drupal with access check and upcasting.
Namespace
Drupal\Core\RoutingCode
public function match($pathinfo) : array {
return $this->matchRequest(Request::create($pathinfo));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.