namespace Drupal\rest\EventSubscriber

Same name in other branches
  1. 9 Drupal\rest\EventSubscriber
  2. 10 Drupal\rest\EventSubscriber
  3. 11.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.
RestConfigSubscriber core/modules/rest/src/EventSubscriber/RestConfigSubscriber.php A subscriber triggering a route rebuild when certain configuration changes.

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