function AccessAwareRouterInterface::match

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php \Drupal\Core\Routing\AccessAwareRouterInterface::match()
  2. 8.9.x core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php \Drupal\Core\Routing\AccessAwareRouterInterface::match()
  3. 11.x core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php \Drupal\Core\Routing\AccessAwareRouterInterface::match()

Throws

\Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException Thrown when $access_check is enabled and access checking failed.

File

core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php, line 33

Class

AccessAwareRouterInterface
Interface for a router class for Drupal with access check and upcasting.

Namespace

Drupal\Core\Routing

Code

public function match($pathinfo) : array;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.