-
Notifications
You must be signed in to change notification settings - Fork 1
/
json_forms.services.yml
28 lines (22 loc) · 1.01 KB
/
json_forms.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
services:
_defaults:
autowire: true
public: false # Controller classes and services directly fetched from container need to be public
Drupal\json_forms\Form\FormArrayFactoryInterface:
class: Drupal\json_forms\Form\FormArrayFactory
public: true
Drupal\json_forms\Form\Validation\FormValidationMapperInterface:
class: Drupal\json_forms\Form\Validation\FormValidationMapper
public: true
Systopia\JsonSchema\Translation\TranslatorInterface:
class: Drupal\json_forms\Form\Validation\Translation\DrupalJsonSchemaValidationTranslator
arguments:
- '@language_manager'
Opis\JsonSchema\Validator:
class: Opis\JsonSchema\Validator
factory: [Drupal\json_forms\Form\Validation\OpisValidatorFactory, getValidator]
Drupal\json_forms\Form\Validation\FormValidatorInterface:
class: Drupal\json_forms\Form\Validation\FormValidator
public: true
Drupal\json_forms\Form\Control\Rule\StatesArrayFactoryInterface:
class: Drupal\json_forms\Form\Control\Rule\StatesArrayFactory