rest.services.yml

drupal/core/modules/rest/rest.services.yml

File

drupal/core/modules/rest/rest.services.yml
View source
  1. services:
  2. plugin.manager.rest:
  3. class: Drupal\rest\Plugin\Type\ResourcePluginManager
  4. arguments: ['@container.namespaces']
  5. rest.route_subscriber:
  6. class: Drupal\rest\EventSubscriber\RouteSubscriber
  7. tags:
  8. - { name: event_subscriber }
  9. arguments: ['@plugin.manager.rest', '@config.factory']
  10. access_check.rest.csrf:
  11. class: Drupal\rest\Access\CSRFAccessCheck
  12. tags:
  13. - { name: access_check }
  14. rest.link_manager:
  15. class: Drupal\rest\LinkManager\LinkManager
  16. arguments: ['@rest.link_manager.type', '@rest.link_manager.relation']
  17. rest.link_manager.type:
  18. class: Drupal\rest\LinkManager\TypeLinkManager
  19. arguments: ['@cache.cache']
  20. rest.link_manager.relation:
  21. class: Drupal\rest\LinkManager\RelationLinkManager
  22. arguments: ['@cache.cache']

Services