You are here

service jsonapi.entity_access_checker in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/jsonapi.services.yml \jsonapi.entity_access_checker

Class

Drupal\jsonapi\Access\EntityAccessChecker

File

core/modules/jsonapi/jsonapi.services.yml
core/modules/jsonapi/jsonapi.services.yml

View source
  1. class: Drupal\jsonapi\Access\EntityAccessChecker
  2. public: false
  3. arguments:
  4. - '@jsonapi.resource_type.repository'
  5. - '@router.no_access_checks'
  6. - '@current_user'
  7. - '@entity.repository'
  8. calls:
  9. - [setNodeRevisionAccessCheck, ['@?access_check.node.revision']]
  10. - [setMediaRevisionAccessCheck, ['@?access_check.media.revision']]
  11. - [setLatestRevisionCheck, ['@?access_check.latest_revision']]