X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Frest%2Frest.services.yml;h=511628eb4171d5e881f63c9ad9fbca9813662510;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=869eb196488ca14562e7f5fb89252449f891018e;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/rest/rest.services.yml b/web/core/modules/rest/rest.services.yml index 869eb1964..511628eb4 100644 --- a/web/core/modules/rest/rest.services.yml +++ b/web/core/modules/rest/rest.services.yml @@ -31,3 +31,20 @@ services: arguments: ['@router.builder'] tags: - { name: event_subscriber } + rest.resource.entity.post_route.subscriber: + class: \Drupal\rest\EventSubscriber\EntityResourcePostRouteSubscriber + arguments: ['@entity_type.manager'] + tags: + - { name: event_subscriber } + + # @todo Remove in Drupal 9.0.0. + rest.path_processor_entity_resource_bc: + class: \Drupal\rest\PathProcessor\PathProcessorEntityResourceBC + arguments: ['@entity_type.manager'] + tags: + - { name: path_processor_inbound } + rest.route_processor_get_bc: + class: \Drupal\rest\RouteProcessor\RestResourceGetRouteProcessorBC + arguments: ['%serializer.formats%', '@router.route_provider'] + tags: + - { name: route_processor_outbound }