public function RelationshipRouteAccessCheck::__construct in Drupal 10
Same name and namespace in other branches
- 9 core/modules/jsonapi/src/Access/RelationshipRouteAccessCheck.php \Drupal\jsonapi\Access\RelationshipRouteAccessCheck::__construct()
RelationshipRouteAccessCheck constructor.
Parameters
\Drupal\jsonapi\Access\EntityAccessChecker $entity_access_checker: The JSON:API entity access checker.
File
- core/
modules/ jsonapi/ src/ Access/ RelationshipRouteAccessCheck.php, line 46
Class
- RelationshipRouteAccessCheck
- Defines a class to check access to related and relationship routes.
Namespace
Drupal\jsonapi\AccessCode
public function __construct(EntityAccessChecker $entity_access_checker) {
$this->entityAccessChecker = $entity_access_checker;
}