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);
doc_Drupal
2016-10-29 08:42:19
Comments
Leave a Comment

Please login to continue.