function EntityAccessChecker::__construct
Same name and namespace in other branches
- 10 core/modules/jsonapi/src/Access/EntityAccessChecker.php \Drupal\jsonapi\Access\EntityAccessChecker::__construct()
- 11.x core/modules/jsonapi/src/Access/EntityAccessChecker.php \Drupal\jsonapi\Access\EntityAccessChecker::__construct()
- 9 core/modules/jsonapi/src/Access/EntityAccessChecker.php \Drupal\jsonapi\Access\EntityAccessChecker::__construct()
- 8.9.x core/modules/jsonapi/src/Access/EntityAccessChecker.php \Drupal\jsonapi\Access\EntityAccessChecker::__construct()
File
-
core/
modules/ jsonapi/ src/ Access/ EntityAccessChecker.php, line 47
Class
- EntityAccessChecker
- Checks access to entities.
Namespace
Drupal\jsonapi\AccessCode
public function __construct(protected ResourceTypeRepositoryInterface $resourceTypeRepository, #[Autowire(service: 'router.no_access_checks')] protected RouterInterface $router, protected AccountInterface $currentUser, protected EntityRepositoryInterface $entityRepository) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.