-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathos2forms_rest_api.services.yml
More file actions
32 lines (28 loc) · 1.07 KB
/
os2forms_rest_api.services.yml
File metadata and controls
32 lines (28 loc) · 1.07 KB
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
services:
logger.channel.os2forms_rest_api:
parent: logger.channel_base
arguments: [ 'os2forms_rest_api' ]
Drupal\os2forms_rest_api\WebformHelper:
arguments:
- '@entity_type.manager'
- '@current_user'
Drupal\os2forms_rest_api\EventSubscriber\WebformAccessEventSubscriber:
arguments:
- '@current_route_match'
- '@current_user'
- '@Drupal\os2forms_rest_api\WebformHelper'
tags:
- { name: 'event_subscriber' }
Drupal\os2forms_rest_api\EventSubscriber\WebformSubmissionDataEventSubscriber:
arguments:
- '@entity_type.manager'
- '@logger.channel.os2forms_rest_api'
tags:
- { name: 'event_subscriber' }
# Overwrite, adding global tag
# @see https://www.drupal.org/docs/drupal-apis/services-and-dependency-injection/altering-existing-services-providing-dynamic-services
key_auth.authentication.key_auth:
class: Drupal\key_auth\Authentication\Provider\KeyAuth
arguments: [ '@key_auth' ]
tags:
- { name: authentication_provider, provider_id: 'key_auth', priority: 200, global: true }