interface AccessArgumentsResolverFactoryInterface
Same name in other branches
- 9 core/lib/Drupal/Core/Access/AccessArgumentsResolverFactoryInterface.php \Drupal\Core\Access\AccessArgumentsResolverFactoryInterface
- 8.9.x core/lib/Drupal/Core/Access/AccessArgumentsResolverFactoryInterface.php \Drupal\Core\Access\AccessArgumentsResolverFactoryInterface
- 11.x core/lib/Drupal/Core/Access/AccessArgumentsResolverFactoryInterface.php \Drupal\Core\Access\AccessArgumentsResolverFactoryInterface
Constructs the arguments resolver instance to use when running access checks.
Hierarchy
- interface \Drupal\Core\Access\AccessArgumentsResolverFactoryInterface
Expanded class hierarchy of AccessArgumentsResolverFactoryInterface
All classes that implement AccessArgumentsResolverFactoryInterface
File
-
core/
lib/ Drupal/ Core/ Access/ AccessArgumentsResolverFactoryInterface.php, line 12
Namespace
Drupal\Core\AccessView source
interface AccessArgumentsResolverFactoryInterface {
/**
* Returns the arguments resolver to use when running access checks.
*
* @param \Drupal\Core\Routing\RouteMatchInterface $route_match
* The route match object to be checked.
* @param \Drupal\Core\Session\AccountInterface $account
* The account being checked.
* @param \Symfony\Component\HttpFoundation\Request $request
* Optional, the request object.
*
* @return \Drupal\Component\Utility\ArgumentsResolverInterface
* The parametrized arguments resolver instance.
*/
public function getArgumentsResolver(RouteMatchInterface $route_match, AccountInterface $account, ?Request $request = NULL);
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
AccessArgumentsResolverFactoryInterface::getArgumentsResolver | public | function | Returns the arguments resolver to use when running access checks. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.