You are here

service jsonapi.entity_resource in Drupal 9

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

Class

Drupal\jsonapi\Controller\EntityResource
1 string reference to jsonapi.entity_resource
EntityResourceTest::createEntityResource in core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php
Creates an instance of the subject under test.

File

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

View source
  1. class: Drupal\jsonapi\Controller\EntityResource
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@entity_field.manager'
  5. - '@jsonapi.resource_type.repository'
  6. - '@renderer'
  7. - '@entity.repository'
  8. - '@jsonapi.include_resolver'
  9. - '@jsonapi.entity_access_checker'
  10. - '@jsonapi.field_resolver'
  11. - '@jsonapi.serializer'
  12. - '@datetime.time'
  13. - '@current_user'