access_check.jsonapi.relationship_route_access

Same name in other branches
  1. 10 core/modules/jsonapi/jsonapi.services.yml \access_check.jsonapi.relationship_route_access
  2. 11.x core/modules/jsonapi/jsonapi.services.yml \access_check.jsonapi.relationship_route_access

Class

Drupal\jsonapi\Access\RelationshipRouteAccessCheck

Tags

  • access_check
1 string reference to access_check.jsonapi.relationship_route_access
RelationshipFieldAccess::access in core/modules/jsonapi/src/Access/RelationshipFieldAccess.php
Checks access to the relationship field on the given route.

File

core/modules/jsonapi/jsonapi.services.yml

View source
  1. class: Drupal\jsonapi\Access\RelationshipRouteAccessCheck
  2. arguments:
  3. - '@jsonapi.entity_access_checker'
  4. tags:
  5. - { name: access_check, applies_to: _jsonapi_relationship_route_access }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.