namespace Drupal\rest\EventSubscriber

Same name in other branches
  1. 11.x Drupal\rest\EventSubscriber
  2. 9 Drupal\rest\EventSubscriber
  3. 8.9.x Drupal\rest\EventSubscriber
Object name File name Summary
EntityResourcePostRouteSubscriber core/modules/rest/src/EventSubscriber/EntityResourcePostRouteSubscriber.php Generates a 'create' route for an entity type if it has a REST POST route.
ResourceResponseSubscriber core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php Response subscriber that serializes and removes ResourceResponses' data.

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