forked from Islandora/jsonld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsonld.services.yml
32 lines (32 loc) · 1.27 KB
/
jsonld.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
services:
serializer.normalizer.entity_reference_item.jsonld:
class: Drupal\jsonld\Normalizer\EntityReferenceItemNormalizer
arguments: ['@rest.link_manager', '@serializer.entity_resolver']
tags:
- { name: normalizer, priority: 10 }
serializer.normalizer.field_item.jsonld:
class: Drupal\jsonld\Normalizer\FieldItemNormalizer
tags:
- { name: normalizer, priority: 10 }
serializer.normalizer.field.jsonld:
class: Drupal\jsonld\Normalizer\FieldNormalizer
tags:
- { name: normalizer, priority: 10 }
serializer.normalizer.file_entity.jsonld:
class: Drupal\jsonld\Normalizer\FileEntityNormalizer
tags:
- { name: normalizer, priority: 20 }
arguments: ['@entity.manager', '@http_client', '@rest.link_manager', '@module_handler']
serializer.normalizer.entity.jsonld:
class: Drupal\jsonld\Normalizer\ContentEntityNormalizer
arguments: ['@rest.link_manager', '@entity.manager', '@module_handler']
tags:
- { name: normalizer, priority: 10 }
serializer.encoder.jsonld:
class: Drupal\jsonld\Encoder\JsonldEncoder
tags:
- { name: encoder, priority: 10, format: jsonld }
exception.default_jsonld:
class: Drupal\jsonld\EventSubscriber\ExceptionJsonldSubscriber
tags:
- { name: event_subscriber }