Chris@0
|
1 services:
|
Chris@0
|
2 plugin.manager.rest:
|
Chris@0
|
3 class: Drupal\rest\Plugin\Type\ResourcePluginManager
|
Chris@0
|
4 arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
|
Chris@0
|
5 cache.rest:
|
Chris@0
|
6 class: Drupal\Core\Cache\CacheBackendInterface
|
Chris@0
|
7 tags:
|
Chris@0
|
8 - { name: cache.bin }
|
Chris@0
|
9 factory: cache_factory:get
|
Chris@0
|
10 arguments: [rest]
|
Chris@0
|
11 # @todo Remove this service in Drupal 9.0.0.
|
Chris@0
|
12 access_check.rest.csrf:
|
Chris@0
|
13 alias: access_check.header.csrf
|
Chris@0
|
14 rest.resource_routes:
|
Chris@0
|
15 class: Drupal\rest\Routing\ResourceRoutes
|
Chris@0
|
16 arguments: ['@plugin.manager.rest', '@entity_type.manager', '@logger.channel.rest']
|
Chris@0
|
17 tags:
|
Chris@0
|
18 - { name: 'event_subscriber' }
|
Chris@0
|
19 logger.channel.rest:
|
Chris@0
|
20 parent: logger.channel_base
|
Chris@0
|
21 arguments: ['rest']
|
Chris@0
|
22
|
Chris@0
|
23 # Event subscribers.
|
Chris@0
|
24 rest.resource_response.subscriber:
|
Chris@0
|
25 class: Drupal\rest\EventSubscriber\ResourceResponseSubscriber
|
Chris@0
|
26 tags:
|
Chris@0
|
27 - { name: event_subscriber }
|
Chris@0
|
28 arguments: ['@serializer', '@renderer', '@current_route_match']
|
Chris@0
|
29 rest.config_subscriber:
|
Chris@0
|
30 class: Drupal\rest\EventSubscriber\RestConfigSubscriber
|
Chris@0
|
31 arguments: ['@router.builder']
|
Chris@0
|
32 tags:
|
Chris@0
|
33 - { name: event_subscriber }
|
Chris@0
|
34 rest.resource.entity.post_route.subscriber:
|
Chris@0
|
35 class: \Drupal\rest\EventSubscriber\EntityResourcePostRouteSubscriber
|
Chris@0
|
36 arguments: ['@entity_type.manager']
|
Chris@0
|
37 tags:
|
Chris@0
|
38 - { name: event_subscriber }
|
Chris@0
|
39
|
Chris@0
|
40 # @todo Remove in Drupal 9.0.0.
|
Chris@0
|
41 rest.path_processor_entity_resource_bc:
|
Chris@0
|
42 class: \Drupal\rest\PathProcessor\PathProcessorEntityResourceBC
|
Chris@0
|
43 arguments: ['@entity_type.manager']
|
Chris@0
|
44 tags:
|
Chris@0
|
45 - { name: path_processor_inbound }
|
Chris@14
|
46 rest.route_processor_get_bc:
|
Chris@14
|
47 class: \Drupal\rest\RouteProcessor\RestResourceGetRouteProcessorBC
|
Chris@14
|
48 arguments: ['%serializer.formats%', '@router.route_provider']
|
Chris@14
|
49 tags:
|
Chris@14
|
50 - { name: route_processor_outbound }
|