service jsonapi.entity_access_checker in Drupal 8
Same name and namespace in other branches
- 9 core/modules/jsonapi/jsonapi.services.yml \jsonapi.entity_access_checker
Class
Drupal\jsonapi\Access\EntityAccessCheckerFile
- core/
modules/ jsonapi/ jsonapi.services.yml - core/modules/jsonapi/jsonapi.services.yml
View source
- class: Drupal\jsonapi\Access\EntityAccessChecker
- public: false
- arguments:
- - '@jsonapi.resource_type.repository'
- - '@router.no_access_checks'
- - '@current_user'
- - '@entity.repository'
- calls:
- - [setNodeRevisionAccessCheck, ['@?access_check.node.revision']]
- - [setMediaRevisionAccessCheck, ['@?access_check.media.revision']]
- - [setLatestRevisionCheck, ['@?access_check.latest_revision']]