function CustomAccessCheck::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Access/CustomAccessCheck.php \Drupal\Core\Access\CustomAccessCheck::__construct()
- 8.9.x core/lib/Drupal/Core/Access/CustomAccessCheck.php \Drupal\Core\Access\CustomAccessCheck::__construct()
- 10 core/lib/Drupal/Core/Access/CustomAccessCheck.php \Drupal\Core\Access\CustomAccessCheck::__construct()
Constructs a CustomAccessCheck instance.
Parameters
\Drupal\Core\Utility\CallableResolver $callableResolver: The callable resolver.
\Drupal\Core\Access\AccessArgumentsResolverFactoryInterface $argumentsResolverFactory: The arguments resolver factory.
File
-
core/
lib/ Drupal/ Core/ Access/ CustomAccessCheck.php, line 32
Class
- CustomAccessCheck
- Defines an access checker that allows specifying a custom method for access.
Namespace
Drupal\Core\AccessCode
public function __construct(CallableResolver $callableResolver, AccessArgumentsResolverFactoryInterface $argumentsResolverFactory) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.