-
Notifications
You must be signed in to change notification settings - Fork 0
/
testsite_builder.services.yml
46 lines (36 loc) · 2.05 KB
/
testsite_builder.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
services:
testsite_builder.config_creator:
class: Drupal\testsite_builder\ConfigCreator
arguments: ['@entity_type.manager', '@entity_field.manager', '@plugin.manager.field_type_manager', '@plugin.manager.entity_type_manager', '@testsite_builder.config_importer_manager', '@testsite_builder.config_template_importer', '@config.factory', '@event_dispatcher', '@testsite_builder.content_creator_storage', '@database']
testsite_builder.created_field_manager:
class: Drupal\testsite_builder\CreatedFieldManager
arguments: ['@entity_field.manager']
plugin.manager.field_type_manager:
class: Drupal\testsite_builder\FieldTypePluginManager
parent: default_plugin_manager
plugin.manager.entity_type_manager:
class: Drupal\testsite_builder\EntityTypePluginManager
parent: default_plugin_manager
plugin.manager.base_entity_tables:
class: Drupal\testsite_builder\BaseEntityTablesPluginManager
parent: default_plugin_manager
testsite_builder.content_creator:
class: Drupal\testsite_builder\ContentCreator
arguments: ['@testsite_builder.content_creator_storage','@database', '@plugin.manager.base_entity_tables']
testsite_builder.content_creator_storage:
class: Drupal\testsite_builder\ContentCreatorStorage
arguments: []
testsite_builder.content_creator_entity_subscriber:
class: Drupal\testsite_builder\Events\ContentCreatorSubscriber
arguments: ['@testsite_builder.content_creator_storage', '@entity_type.manager']
tags:
- { name: event_subscriber }
testsite_builder.config_importer_manager:
class: Drupal\testsite_builder\ConfigImporterPluginManager
parent: default_plugin_manager
testsite_builder.config_template_type_manager:
class: Drupal\testsite_builder\ConfigTemplateTypePluginManager
parent: default_plugin_manager
testsite_builder.config_template_importer:
class: Drupal\testsite_builder\ConfigTemplateImporter
arguments: ['@testsite_builder.config_template_type_manager', '@config.factory', '@entity_type.manager', '@entity_type.bundle.info', '@entity_field.manager']