-
Notifications
You must be signed in to change notification settings - Fork 2
/
easy_entity_reader.services.yml
43 lines (43 loc) · 1.97 KB
/
easy_entity_reader.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
services:
easy_entity_adapter.wrapper:
class: Drupal\easy_entity_reader\EntityWrapper
tags:
- { name: service_collector, tag: easy_entity_adapter_converter, call: registerConverter }
easy_entity_adapter.image_item_converter:
class: Drupal\easy_entity_reader\Converters\ImageItemConverter
arguments: ['@easy_entity_adapter.wrapper', '@entity_type.manager']
tags:
- { name: easy_entity_adapter_converter, priority: 6 }
easy_entity_adapter.file_item_converter:
class: Drupal\easy_entity_reader\Converters\FileItemConverter
arguments: ['@easy_entity_adapter.wrapper', '@entity_type.manager']
tags:
- { name: easy_entity_adapter_converter, priority: 5 }
easy_entity_adapter.link_item_converter:
class: Drupal\easy_entity_reader\Converters\LinkItemConverter
tags:
- { name: easy_entity_adapter_converter, priority: 4 }
easy_entity_adapter.color_field_converter:
class: Drupal\easy_entity_reader\Converters\ColorFieldConverter
arguments: ['@easy_entity_adapter.wrapper', '@entity_type.manager']
tags:
- { name: easy_entity_adapter_converter, priority: 3 }
easy_entity_adapter.collection_converter:
class: Drupal\easy_entity_reader\Converters\CollectionConverter
arguments: ['@easy_entity_adapter.wrapper', '@entity_type.manager']
tags:
- { name: easy_entity_adapter_converter, priority: 2 }
easy_entity_adapter.entity_reference_converter:
class: Drupal\easy_entity_reader\Converters\EntityReferenceConverter
arguments: ['@easy_entity_adapter.wrapper', '@entity_type.manager']
tags:
- { name: easy_entity_adapter_converter, priority: 1 }
easy_entity_adapter.default_converter:
class: Drupal\easy_entity_reader\Converters\DefaultConverter
tags:
- { name: easy_entity_adapter_converter, priority: -9999 }
easy_entity_reader.twig_extension:
class: Drupal\easy_entity_reader\TwigExtension
arguments: ['@easy_entity_adapter.wrapper']
tags:
- { name: twig.extension }