You are here

public function AccessArgumentsResolverFactoryInterface::getArgumentsResolver in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Access/AccessArgumentsResolverFactoryInterface.php \Drupal\Core\Access\AccessArgumentsResolverFactoryInterface::getArgumentsResolver()
  2. 9 core/lib/Drupal/Core/Access/AccessArgumentsResolverFactoryInterface.php \Drupal\Core\Access\AccessArgumentsResolverFactoryInterface::getArgumentsResolver()

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);