public function AccessArgumentsResolverFactoryInterface::getArgumentsResolver

public AccessArgumentsResolverFactoryInterface::getArgumentsResolver(RouteMatchInterface $route_match, AccountInterface $account, Request $request = NULL)

Returns the arguments resolver to use when running access checks.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match object to be checked.

\Drupal\Core\Session\AccountInterface $account: The account being checked.

\Symfony\Component\HttpFoundation\Request $request: Optional, the request object.

Return value

\Drupal\Component\Utility\ArgumentsResolverInterface The parametrized arguments resolver instance.

File

core/lib/Drupal/Core/Access/AccessArgumentsResolverFactoryInterface.php, line 27

Class

AccessArgumentsResolverFactoryInterface
Constructs the arguments resolver instance to use when running access checks.

Namespace

Drupal\Core\Access

Code

public function getArgumentsResolver(RouteMatchInterface $route_match, AccountInterface $account, Request $request = NULL);

© 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!Access!AccessArgumentsResolverFactoryInterface.php/function/AccessArgumentsResolverFactoryInterface::getArgumentsResolver/8.1.x