-
Notifications
You must be signed in to change notification settings - Fork 1
/
wmmedia.services.yml
87 lines (72 loc) · 2.68 KB
/
wmmedia.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
services:
wmmedia.image.repository:
class: Drupal\wmmedia\Service\ImageRepository
arguments:
- '@database'
- '@entity_field.manager'
wmmedia.image.form_builder:
class: Drupal\wmmedia\Service\ImageOverviewFormBuilder
parent: wmmedia.base.form_builder
arguments:
- '@wmmedia.image.repository'
- '@entity_type.manager'
- '@entity_field.manager'
wmmedia.image.json_formatter:
class: Drupal\wmmedia\Service\ImageJsonFormatter
arguments:
- '@entity_type.manager'
- '@language_manager'
wmmedia.file.repository:
class: Drupal\wmmedia\Service\FileRepository
arguments:
- '@database'
- '@entity_field.manager'
wmmedia.base.form_builder:
class: Drupal\wmmedia\Service\OverviewFormBuilderBase
abstract: true
arguments:
- '@request_stack'
- '@current_route_match'
wmmedia.file.form_builder:
class: Drupal\wmmedia\Service\FileOverviewFormBuilder
parent: wmmedia.base.form_builder
arguments:
- '@wmmedia.file.repository'
- '@entity_type.manager'
wmmedia.usage:
class: Drupal\wmmedia\Service\UsageManager
arguments:
- '@entity_field.manager'
- '@entity_type.manager'
- '@entity_type.bundle.info'
- '@database'
- '@queue'
- '@wmmedia.usage.repository'
wmmedia.usage.repository:
class: Drupal\wmmedia\Service\UsageRepository
arguments:
- '@database'
wmmedia.usage.subscriber.entity:
class: Drupal\wmmedia\EventSubscriber\UsageEntitySubscriber
arguments:
- '@database'
- '@wmmedia.usage'
wmmedia.usage.subscriber.form:
class: Drupal\wmmedia\EventSubscriber\UsageFormAlterSubscriber
arguments:
- '@wmmedia.usage'
wmmedia.form_alter.subscriber:
class: Drupal\wmmedia\EventSubscriber\MediaFormAlterSubscriber
wmmedia.entity.image.subscriber:
class: Drupal\wmmedia\EventSubscriber\ImageSubscriber
wmmedia.entity.delete.subscriber:
class: Drupal\wmmedia\EventSubscriber\MediaDeleteSubscriber
wmmedia.collection_route.subscriber:
class: Drupal\wmmedia\EventSubscriber\CollectionRouteSubscriber
tags: [{ name: event_subscriber }]
wmmedia.entity_form_display.subscriber:
class: Drupal\wmmedia\EventSubscriber\EntityFormDisplaySubscriber
wmmedia.media_file.access_checker:
class: Drupal\wmmedia\Access\MediaFileAccessCheck
arguments:
- '@entity_type.manager'