3 namespace Drupal\Core\Access;
5 use Drupal\Core\Routing\RouteMatchInterface;
6 use Drupal\Core\Session\AccountInterface;
7 use Symfony\Component\HttpFoundation\Request;
10 * Constructs the arguments resolver instance to use when running access checks.
12 interface AccessArgumentsResolverFactoryInterface {
15 * Returns the arguments resolver to use when running access checks.
17 * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
18 * The route match object to be checked.
19 * @param \Drupal\Core\Session\AccountInterface $account
20 * The account being checked.
21 * @param \Symfony\Component\HttpFoundation\Request $request
22 * Optional, the request object.
24 * @return \Drupal\Component\Utility\ArgumentsResolverInterface
25 * The parametrized arguments resolver instance.
27 public function getArgumentsResolver(RouteMatchInterface $route_match, AccountInterface $account, Request $request = NULL);