forked from esmero/strawberryfield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
strawberryfield.services.yml
99 lines (99 loc) · 5.45 KB
/
strawberryfield.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
services:
strawberryfield.utility:
class: Drupal\strawberryfield\StrawberryfieldUtilityService
arguments: [ '@file_system', '@entity_type.manager', '@config.factory','@module_handler', '@entity_field.manager', '@plugin.manager.search_api.parse_mode']
strawberryfield.file_metadata_extractor:
class: Drupal\strawberryfield\StrawberryfieldFileMetadataService
arguments: [ '@file_system', '@stream_wrapper_manager', '@config.factory', '@logger.factory', '@strawberryfield.utility' ]
tags:
- { name: backend_overridable }
strawberryfield.file_persister:
class: Drupal\strawberryfield\StrawberryfieldFilePersisterService
arguments: [ '@file_system', '@file.usage', '@entity_type.manager', '@stream_wrapper_manager', '@plugin.manager.archiver', '@config.factory', '@current_user', '@language_manager', '@transliteration', '@module_handler', '@logger.factory', '@strawberryfield.utility', '@strawberryfield.file_metadata_extractor']
tags:
- { name: backend_overridable }
strawberryfield.keyname_manager:
class: Drupal\strawberryfield\Plugin\StrawberryfieldKeyNameProviderManager
parent: default_plugin_manager
serializer.normalizer.strawberryfield.typed_data:
class: Drupal\strawberryfield\Normalizer\StrawberryfieldFieldItemNormalizer
tags:
- { name: normalizer, priority: 100 }
arguments: ['@entity.repository']
strawberryfield.presavevocab_subscriber:
class: Drupal\strawberryfield\EventSubscriber\StrawberryfieldEventPresaveSubscriberVocabCreator
tags:
- {name: event_subscriber}
arguments: ['@string_translation', '@messenger', '@current_user']
strawberryfield.presave_as_filestructure_subscriber:
class: Drupal\strawberryfield\EventSubscriber\StrawberryfieldEventPresaveSubscriberAsFileStructureGenerator
tags:
- {name: event_subscriber}
arguments: ['@string_translation', '@messenger', '@logger.factory', '@strawberryfield.file_persister', '@current_user']
strawberryfield.presavefilepersister_subscriber:
class: Drupal\strawberryfield\EventSubscriber\StrawberryfieldEventPresaveSubscriberFilePersister
tags:
- {name: event_subscriber}
arguments: ['@string_translation', '@messenger', '@logger.factory', '@strawberryfield.file_persister', '@current_user']
strawberryfield.presavesetlabelfrommetadata_subscriber:
class: Drupal\strawberryfield\EventSubscriber\StrawberryfieldEventPresaveSubscriberSetTitlefromMetadata
tags:
- {name: event_subscriber}
arguments: ['@string_translation', '@messenger', '@logger.factory', '@current_user']
strawberryfield.insertdeposit_subscriber:
class: Drupal\strawberryfield\EventSubscriber\StrawberryfieldEventInsertSubscriberDepositDO
tags:
- {name: event_subscriber}
arguments: ['@string_translation', '@messenger', '@serializer', '@config.factory', '@logger.factory', '@strawberryfield.file_persister', '@current_user']
strawberryfield.savedeposit_subscriber:
class: Drupal\strawberryfield\EventSubscriber\StrawberryfieldEventSaveSubscriberDepositDO
tags:
- { name: event_subscriber }
arguments: ['@string_translation', '@messenger', '@serializer', '@config.factory', '@logger.factory', '@strawberryfield.file_persister', '@current_user']
strawberryfield.insertfileusage_subscriber:
class: Drupal\strawberryfield\EventSubscriber\StrawberryfieldEventInsertFileUsageUpdater
tags:
- {name: event_subscriber}
arguments: ['@string_translation', '@messenger', '@logger.factory', '@strawberryfield.file_persister', '@current_user']
strawberryfield.deletefileusage_subscriber:
class: Drupal\strawberryfield\EventSubscriber\StrawberryfieldEventDeleteFileUsageDeleter
tags:
- {name: event_subscriber}
arguments: ['@string_translation', '@messenger', '@logger.factory', '@strawberryfield.file_persister', '@current_user']
strawberryfield.node_update_flavor:
class: Drupal\strawberryfield\EventSubscriber\StrawberryEventSaveFlavorSubscriber
tags:
- { name: event_subscriber }
arguments: ['@keyvalue']
strawberryfield.node_delete_flavor:
class: Drupal\strawberryfield\EventSubscriber\StrawberryEventDeleteFlavorSubscriber
tags:
- { name: event_subscriber }
arguments: ['@keyvalue']
strawberryfield.search_api_relations_alter:
class: Drupal\strawberryfield\EventSubscriber\StrawberryfieldEventSearchApiForeignRelationshipsMapping
tags:
- { name: event_subscriber }
arguments: ['@strawberryfield.utility']
strawberryfield.paramconverter.entity:
class: Drupal\strawberryfield\ParamConverter\UuidEntityConverter
tags:
- { name: paramconverter , priority: 10 }
arguments: ['@entity_type.manager', '@entity.repository']
strawberryfield.mime_type.guesser.mime:
class: Drupal\strawberryfield\StrawberryfieldMimeService
arguments: ['@module_handler']
tags:
- { name: mime_type_guesser }
lazy: true
logger.channel.hydroponics:
parent: logger.channel_base
arguments: ['hydroponics']
strawberryfield.hydroponics:
class: Drupal\strawberryfield\StrawberryfieldHydroponicsService
arguments: ['@entity_type.manager', '@config.factory', '@module_handler', '@plugin.manager.queue_worker', '@queue', '@logger.channel.hydroponics']
strawberryfield.semantic_breadcrumb:
class: Drupal\strawberryfield\StrawberryFieldBreadcrumbBuilder
arguments: ['@entity_type.manager', '@current_user', '@strawberryfield.utility', '@config.factory']
tags:
- { name: breadcrumb_builder, priority: 1500 }