-
Notifications
You must be signed in to change notification settings - Fork 1
/
factory_lollipop.services.yml
113 lines (97 loc) · 4.09 KB
/
factory_lollipop.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
services:
factory_lollipop.fixture_factory:
class: Drupal\factory_lollipop\FixtureFactory
arguments:
- '@factory_lollipop.factory_type.chain_resolver'
- '@factory_lollipop.factory.chain_resolver'
factory_lollipop.factory_type.chain_resolver:
class: Drupal\factory_lollipop\Resolver\ChainFactoryTypeResolver
tags:
- { name: service_collector, call: addResolver, tag: factory_lollipop.factory_type_resolver }
factory_lollipop.factory.chain_resolver:
class: Drupal\factory_lollipop\Resolver\ChainFactoryResolver
tags:
- { name: service_collector, call: addResolver, tag: factory_lollipop.factory_resolver }
## Factory Types
factory_lollipop.factory_type.file:
class: Drupal\factory_lollipop\FactoryType\FileFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 100 }
arguments:
- '@config.factory'
- '@file_system'
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.field:
class: Drupal\factory_lollipop\FactoryType\EntityFieldFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 200 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.field.entity_reference:
class: Drupal\factory_lollipop\FactoryType\EntityFieldEntityReferenceFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 200 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.node_type:
class: Drupal\factory_lollipop\FactoryType\NodeTypeFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 205 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.node:
class: Drupal\factory_lollipop\FactoryType\NodeFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 210 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.taxonomy.vocabulary:
class: Drupal\factory_lollipop\FactoryType\VocabularyFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 215 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.taxonomy.term:
class: Drupal\factory_lollipop\FactoryType\TaxonomyTermFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 215 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.role:
class: Drupal\factory_lollipop\FactoryType\RoleFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 220 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.user:
class: Drupal\factory_lollipop\FactoryType\UserFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 220 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
- [setPasswordGenerator, ['@password_generator']]
factory_lollipop.factory_type.menu:
class: Drupal\factory_lollipop\FactoryType\MenuFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 230 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.menu_link:
class: Drupal\factory_lollipop\FactoryType\MenuLinkFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 230 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.media_type:
class: Drupal\factory_lollipop\FactoryType\MediaTypeFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 240 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]
factory_lollipop.factory_type.media:
class: Drupal\factory_lollipop\FactoryType\MediaFactoryType
tags:
- { name: factory_lollipop.factory_type_resolver, priority: 240 }
calls:
- [setEntityTypeManager, ['@entity_type.manager']]