rest.resource.entity.comment_2721595.yml

core/modules/rest/tests/fixtures/update/rest.resource.entity.comment_2721595.yml

File

core/modules/rest/tests/fixtures/update/rest.resource.entity.comment_2721595.yml

View source
  1. id: entity.comment
  2. plugin_id: 'entity:comment'
  3. granularity: method
  4. configuration:
  5. GET:
  6. supported_formats:
  7. - hal_json
  8. # This resource has a method-specific format.
  9. # @see \Drupal\rest\Tests\Update\ResourceGranularityUpdateTest
  10. - xml
  11. supported_auth:
  12. - basic_auth
  13. POST:
  14. supported_formats:
  15. - hal_json
  16. supported_auth:
  17. - basic_auth
  18. PATCH:
  19. supported_formats:
  20. - hal_json
  21. supported_auth:
  22. - basic_auth
  23. DELETE:
  24. supported_formats:
  25. - hal_json
  26. supported_auth:
  27. - basic_auth
  28. dependencies:
  29. module:
  30. - node
  31. - basic_auth
  32. - hal

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