forked from Islandora/jsonld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsonld.services.yml
39 lines (39 loc) · 1.67 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
33
34
35
36
37
38
39
services:
serializer.normalizer.entity_reference_item.jsonld:
class: Drupal\jsonld\Normalizer\EntityReferenceItemNormalizer
arguments: ['@hal.link_manager', '@serializer.entity_resolver', '@jsonld.contextgenerator']
tags:
- { name: normalizer, priority: 10 }
serializer.normalizer.field_item.jsonld:
class: Drupal\jsonld\Normalizer\FieldItemNormalizer
arguments: ['@jsonld.contextgenerator']
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_type.manager', '@http_client', '@hal.link_manager', '@module_handler', '@file_system']
serializer.normalizer.entity.jsonld:
class: Drupal\jsonld\Normalizer\ContentEntityNormalizer
arguments: ['@hal.link_manager', '@entity_type.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 }
logger.channel.jsonld:
parent: logger.channel_base
arguments: ['jsonld']
jsonld.contextgenerator:
class: Drupal\jsonld\ContextGenerator\JsonldContextGenerator
arguments: ['@entity_field.manager','@entity_type.bundle.info','@entity_type.manager', '@cache.default', '@logger.channel.jsonld']