-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjsonapi.services.yml
45 lines (42 loc) · 1.51 KB
/
jsonapi.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:
jsonapi.normalizer.entity_reference_field_item:
class: Drupal\jsonapi\Normalizer\EntityReferenceFieldItemNormalizer
tags:
- { name: normalizer, priority: 10 }
jsonapi.encoder.json:
class: Drupal\jsonapi\Encoder\JsonApiEncoder
tags:
- { name: encoder, format: jsonapi }
jsonapi.normalizer.field_item:
class: Drupal\jsonapi\Normalizer\FieldItemNormalizer
tags:
- { name: normalizer, priority: 10 }
jsonapi.normalizer.entity:
class: Drupal\jsonapi\Normalizer\EntityNormalizer
arguments: ['@entity.manager']
tags:
- { name: normalizer, priority: 10 }
jsonapi.normalizer.field_item_list:
class: Drupal\jsonapi\Normalizer\FieldItemListNormalizer
tags:
- { name: normalizer, priority: 21 }
jsonapi.normalizer.boolean:
class: Drupal\jsonapi\Normalizer\BooleanDataNormalizer
tags:
- { name: normalizer, priority: 0 }
jsonapi.normalizer.integer:
class: Drupal\jsonapi\Normalizer\IntegerDataNormalizer
tags:
- { name: normalizer, priority: 0 }
jsonapi.normalizer.timestamp:
class: Drupal\jsonapi\Normalizer\TimestampNormalizer
tags:
- { name: normalizer, priority: 10 }
jsonapi.normalizer.document_context:
class: Drupal\jsonapi\Normalizer\DocumentContextNormalizer
tags:
- { name: normalizer, priority: 0 }
jsonapi.normalizer.resource_object:
class: Drupal\jsonapi\Normalizer\ResourceObjectNormalizer
tags:
- { name: normalizer, priority: 10 }