-
Notifications
You must be signed in to change notification settings - Fork 0
/
huacaya.services.yml
30 lines (30 loc) · 1.15 KB
/
huacaya.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
# Huacaya Services
# huacaya.services.yml:
services:
huacaya.jwt-subscriber:
class: Drupal\huacaya\EventSubscriber\JwtEventSubscriber
factory: [ 'Drupal\huacaya\EventSubscriber\JwtEventSubscriber', create ]
arguments: [ '@entity_type.manager', '@current_user' ]
tags:
- { name: event_subscriber }
huacaya.stomp:
class: Stomp\StatefulStomp
factory: [ 'Drupal\huacaya\StompFactory', create ]
arguments: [ '@config.factory' ]
huacaya.stomp.auth_header_listener:
class: Drupal\huacaya\EventSubscriber\StompHeaderEventSubscriber
arguments: [ '@jwt.authentication.jwt' ]
tags:
- { name: event_subscriber }
huacaya.eventgenerator:
class: Drupal\huacaya\EventGenerator\EventGenerator
arguments: ['@huacaya.utils', '@huacaya.media_source_service']
huacaya.media_source_service:
class: Drupal\huacaya\MediaSource\MediaSourceService
arguments: [ '@entity_type.manager', '@current_user', '@language_manager', '@file_system' ]
logger.channel.huacaya:
parent: logger.channel_base
arguments: [ 'huacaya' ]
huacaya.utils:
class: Drupal\huacaya\HuacayaUtils
arguments: [ '@language_manager' ]