-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathiiif_presentation_api.services.yml
61 lines (58 loc) · 2.32 KB
/
iiif_presentation_api.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
services:
serializer.encoder.iiif_presentation_api.iiif_p_v3.encoder:
class: 'Drupal\iiif_presentation_api\Encoder\V3\IiifP'
tags:
- { name: encoder, priority: 20, format: 'iiif-p-v3' }
serializer.normalizer.iiif_presentation_api.iiif_p_v3.content_entity:
class: 'Drupal\iiif_presentation_api\Normalizer\V3\ContentEntityNormalizer'
tags:
- { name: normalizer, priority: 10 }
arguments:
- '@current_user'
- '@event_dispatcher'
- '@iiif_presentation_api.v3.field_mapper'
serializer.normalizer.iiif_presentation_api.iiif_p_v3.field_item_list:
class: 'Drupal\iiif_presentation_api\Normalizer\V3\FieldItemListNormalizer'
tags:
- { name: normalizer, priority: 10 }
serializer.normalizer.iiif_presentation_api.iiif_p_v3.field_item:
class: 'Drupal\iiif_presentation_api\Normalizer\V3\FieldItemNormalizer'
tags:
- { name: normalizer, priority: 10 }
iiif_presentation_api.iiif_p_v3.base_body_subscriber:
class: 'Drupal\iiif_presentation_api\EventSubscriber\V3\BaseImageBodyEventSubscriber'
arguments:
- '@plugin.manager.iiif_presentation_api.iiif_p_v3.id_process'
tags:
- { name: 'event_subscriber' }
plugin.manager.iiif_presentation_api.iiif_p_v3.id_process:
class: 'Drupal\iiif_presentation_api\IdProcessPluginManager'
arguments:
- 'V3'
- '@container.namespaces'
- '@module_handler'
iiif_presentation_api.route_subscriber:
class: Drupal\iiif_presentation_api\Routing\RouteSubscriber
arguments:
- '@entity_type.manager'
tags:
- { name: event_subscriber }
iiif_presentation_api.v3.manifest_controller:
class: Drupal\iiif_presentation_api\Controller\V3\ManifestController
factory: [null, create]
arguments:
- '@service_container'
iiif_presentation_api.v3.canvas_controller:
class: Drupal\iiif_presentation_api\Controller\V3\CanvasController
factory: [null, create]
arguments:
- '@service_container'
iiif_presentation_api.v3.field_mapper:
class: Drupal\iiif_presentation_api\FieldMapper
tags:
- { name: iiif_presentation_api_mapper, base: iiif_presentation_api_map, version: v3 }
iiif_presentation_api.revalidation_directive_subscriber:
class: Drupal\iiif_presentation_api\EventSubscriber\RevalidationDirective
tags:
- { name: event_subscriber }