forked from Metadrop/behat-contexts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.yml
29 lines (27 loc) · 1.47 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
parameters:
drupal.behat.component.resolution.class: NuvoleWeb\Drupal\DrupalExtension\Component\ResolutionComponent
drupal.behat.component.py_string_yaml_parser.class: NuvoleWeb\Drupal\DrupalExtension\Component\PyStringYamlParser
drupal.behat.component.random.class: NuvoleWeb\Drupal\DrupalExtension\Component\RandomGeneratorComponent
# Overrides Drupal Extension Drupal 6 core class.
drupal.driver.cores.6.class: NuvoleWeb\Drupal\Driver\Cores\Drupal6
# Overrides Drupal Extension Drupal 7 core class.
drupal.driver.cores.7.class: Metadrop\Behat\Cores\Drupal7
# Overrides Drupal Extension Drupal 8 core class.
drupal.driver.cores.8.class: Metadrop\Behat\Cores\Drupal8
# Class responsible to inject service container instance in all contexts.
drupal.behat.context_initializer.service_container.class: NuvoleWeb\Drupal\DrupalExtension\Context\Initializer\ServiceContainerInitializer
# Hook loader.
drupal.context.annotation.reader.class: Metadrop\Behat\Context\Annotation\Reader
services:
_defaults:
public: true
drupal.behat.component.resolution:
class: '%drupal.behat.component.resolution.class%'
drupal.behat.component.py_string_yaml_parser:
class: '%drupal.behat.component.py_string_yaml_parser.class%'
drupal.behat.component.random:
class: '%drupal.behat.component.random.class%'
drupal.behat.context_initializer.service_container:
class: '%drupal.behat.context_initializer.service_container.class%'
tags:
- { name: context.initializer }