W3cubDocs

/Drupal 8

public function AccessAwareRouterInterface::match

public AccessAwareRouterInterface::match($pathinfo)

Throws

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

Overrides UrlMatcherInterface::match

File

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

Class

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

Namespace

Drupal\Core\Routing

Code

public function match($pathinfo);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!AccessAwareRouterInterface.php/function/AccessAwareRouterInterface::match/8.1.x