function AccessArgumentsResolverFactoryInterface::getArgumentsResolver

Same name in other branches
  1. 9 core/lib/Drupal/Core/Access/AccessArgumentsResolverFactoryInterface.php \Drupal\Core\Access\AccessArgumentsResolverFactoryInterface::getArgumentsResolver()
  2. 8.9.x core/lib/Drupal/Core/Access/AccessArgumentsResolverFactoryInterface.php \Drupal\Core\Access\AccessArgumentsResolverFactoryInterface::getArgumentsResolver()
  3. 11.x 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);

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