AccessAwareRouter::match

public AccessAwareRouter::match($pathinfo)

Throws

\Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException Thrown when access checking failed.

Overrides AccessAwareRouterInterface::match

File

core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 133

Class

AccessAwareRouter
A router class for Drupal with access check and upcasting.

Namespace

Drupal\Core\Routing

Code

1
2
3
public function match($pathinfo) {
  return $this->matchRequest(Request::create($pathinfo));
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.