-
Notifications
You must be signed in to change notification settings - Fork 19
/
jsonld.services.yml
42 lines (42 loc) · 1.88 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
40
41
42
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', '@jsonld.normalizer_utils']
serializer.normalizer.entity.jsonld:
class: Drupal\jsonld\Normalizer\ContentEntityNormalizer
arguments: ['@hal.link_manager', '@entity_type.manager', '@module_handler', '@jsonld.normalizer_utils']
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']
jsonld.normalizer_utils:
class: Drupal\jsonld\Utils\JsonldNormalizerUtils
arguments: ['@config.factory', '@language_manager', '@router.route_provider']