-
-
Notifications
You must be signed in to change notification settings - Fork 192
/
services.yml
92 lines (81 loc) · 2.81 KB
/
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
parameters:
# This overrides the class for the core version of this class
behat.definition.proposal.annotated.class: Drupal\DrupalExtension\Definition\Proposal\AnnotatedDefinitionProposal
# Drupal driver manager.
drupal.drupal.class: Drupal\DrupalDriverManager
drupal.drupal.default_session: blackbox
drupal.drupal.api_driver: drush
# Drupal authentication manager.
drupal.authentication_manager.class: Drupal\DrupalExtension\Manager\DrupalAuthenticationManager
# Drupal user manager.
drupal.user_manager.class: Drupal\DrupalExtension\Manager\DrupalUserManager
# Random generator.
drupal.random.class: Drupal\Component\Utility\Random
# Context initializer.
drupal.context.initializer.class: Drupal\DrupalExtension\Context\Initializer\DrupalAwareInitializer
# Environment reader.
drupal.context.environment.reader.class: Drupal\DrupalExtension\Context\Environment\Reader\Reader
# Event listeners.
drupal.listener.drivers.class: Drupal\DrupalExtension\Listener\DriverListener
# Hook loader.
drupal.context.annotation.reader.class: Drupal\DrupalExtension\Context\Annotation\Reader
# Region selector class.
drupal.context.region_selector.class: Drupal\DrupalExtension\Selector\RegionSelector
# Parameters.
drupal.parameters: {}
drupal.region_map: {}
services:
drupal.drupal:
class: "%drupal.drupal.class%"
arguments:
- {}
- "@drupal.random"
drupal.authentication_manager:
class: "%drupal.authentication_manager.class%"
arguments:
- "@mink"
- "@drupal.user_manager"
- "@drupal.drupal"
- "%mink.parameters%"
- "%drupal.parameters%"
drupal.user_manager:
class: "%drupal.user_manager.class%"
drupal.random:
class: "%drupal.random.class%"
drupal.context.initializer:
class: "%drupal.context.initializer.class%"
arguments:
- "@drupal.drupal"
- "%drupal.parameters%"
- "@hook.dispatcher"
- "@drupal.authentication_manager"
- "@drupal.user_manager"
tags:
- { name: context.initializer }
drupal.context.environment.reader:
class: "%drupal.context.environment.reader.class%"
arguments:
- "@drupal.drupal"
- "%drupal.parameters%"
tags:
- { name: environment.reader }
drupal.context.loader.annotated:
class: "%drupal.context.annotation.reader.class%"
arguments:
tags:
- { name: context.annotation_reader }
drupal.listener.driver:
class: "%drupal.listener.drivers.class%"
arguments:
- "@drupal.drupal"
- "%drupal.parameters%"
tags:
- { name: event_dispatcher.subscriber, priority: 0 }
drupal.region_selector:
class: "%drupal.context.region_selector.class%"
arguments:
# inject the CSSSelector
- "@mink.selector.css"
- "%drupal.region_map%"
tags:
- { name: mink.selector, alias: region }