public function RelationshipFieldAccess::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/jsonapi/src/Access/RelationshipFieldAccess.php \Drupal\jsonapi\Access\RelationshipFieldAccess::__construct()
RelationshipFieldAccess constructor.
Parameters
\Drupal\jsonapi\Access\EntityAccessChecker $entity_access_checker: The JSON:API entity access checker.
File
- core/
modules/ jsonapi/ src/ Access/ RelationshipFieldAccess.php, line 48
Class
- RelationshipFieldAccess
- 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;
}