-
Notifications
You must be signed in to change notification settings - Fork 4
/
ami.services.yml
39 lines (39 loc) · 2.33 KB
/
ami.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
services:
ami.importeradapter_manager:
class: Drupal\ami\Plugin\ImporterAdapterManager
parent: default_plugin_manager
arguments: ['@entity_type.manager']
ami.utility:
class: Drupal\ami\AmiUtilityService
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', '@entity_field.manager', '@entity_type.bundle.info', '@http_client', '@ami.lod', '@keyvalue', '@strawberryfield.file_metadata_extractor', '@strawberryfield.file_persister']
tags:
- { name: backend_overridable }
ami.lod:
class: Drupal\ami\AmiLoDService
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', '@http_client', '@keyvalue']
tags:
- { name: backend_overridable }
ami.twig.TwigExtension:
class: Drupal\ami\TwigExtension
tags:
- { name: twig.extension }
ami.presaveprocesslod_subscriber:
class: Drupal\ami\EventSubscriber\AmiEventPresaveSubscriberProcessedLoDUpdater
tags:
- { name: event_subscriber }
arguments: [ '@string_translation', '@messenger', '@logger.factory', '@current_user', '@ami.utility', '@entity_type.manager', '@ami.lod']
ami.strawberryfield_presaveprocessjson_subscriber:
class: Drupal\ami\EventSubscriber\AmiStrawberryfieldEventPresaveSubscriberJsonTransform
tags:
- { name: event_subscriber }
arguments: [ '@string_translation', '@messenger', '@logger.factory', '@current_user', '@ami.utility', '@entity_type.manager', '@request_stack', '@renderer', '@config.factory']
ami.facet_batch_view_data_provider:
class: Drupal\ami\EventSubscriber\AmiFacetsViewsBulkOperationsEventSubscriber
arguments: [ '@views_bulk_operations.data' ,'@current_user', '@tempstore.private' ]
tags:
- { name: event_subscriber }
ami.breadcrumb.amiset:
class: Drupal\ami\Breadcrumb\AmiSetBreadcrumbBuilder
#arguments: [ '@entity_type.manager', '@config.factory', '@forum_manager', '@string_translation' ]
tags:
- { name: breadcrumb_builder, priority: 1001 }