-
Notifications
You must be signed in to change notification settings - Fork 0
/
commerce_vipps.services.yml
54 lines (54 loc) · 2.57 KB
/
commerce_vipps.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
services:
commerce_vipps.manager:
class: Drupal\commerce_vipps\VippsManager
arguments: ['@http_client_factory', '@extension.list.module']
logger.channel.commerce_vipps:
class: Drupal\Core\Logger\LoggerChannel
factory: logger.factory:get
arguments: ['commerce_vipps']
commerce_vipps.chain_order_id_resolver:
class: Drupal\commerce_vipps\Resolver\ChainOrderIdResolver
tags:
- { name: service_collector, call: addResolver, tag: commerce_vipps.order_id_resolver }
commerce_vipps.default_order_id_resolver:
class: Drupal\commerce_vipps\Resolver\DefaultOrderIdResolver
tags:
- { name: commerce_vipps.order_id_resolver, priority: -100 }
commerce_vipps.chain_shipping_methods_resolver:
class: Drupal\commerce_vipps\Resolver\ChainShippingMethodsResolver
tags:
- { name: service_collector, call: addResolver, tag: commerce_vipps.shipping_methods_resolver }
commerce_vipps.default_shipping_methods_resolver:
class: Drupal\commerce_vipps\Resolver\DefaultShippingMethodsResolver
tags:
- { name: commerce_vipps.shipping_methods_resolver, priority: -100 }
commerce_vipps.event_subscriber:
class: Drupal\commerce_vipps\EventSubscriber\CommerceVippsSubscriber
tags:
- { name: event_subscriber }
commerce_vipps.commerce_shipping_subscriber:
class: Drupal\commerce_vipps\EventSubscriber\CommerceShippingSubscriber
arguments: ['@entity_type.manager', '@commerce_shipping.packer_manager', '@commerce_shipping.early_order_processor', '@commerce_shipping.late_order_processor']
abstract: true
tags:
- { name: event_subscriber }
commerce_vipps.commerce_order_subscriber:
class: Drupal\commerce_vipps\EventSubscriber\CommerceOrderSubscriber
arguments: ['@entity_type.manager', '@commerce_vipps.manager', '@event_dispatcher', '@logger.channel.commerce_vipps']
tags:
- { name: event_subscriber }
commerce_vipps.return_from_vipps_express_subscriber:
class: Drupal\commerce_vipps\EventSubscriber\ReturnFromVippsExpressSubscriber
arguments: ['@entity_type.manager']
tags:
- { name: event_subscriber }
access_check.commerce_vipps.remote_log:
class: Drupal\commerce_vipps\Access\RemoteLogAccessCheck
tags:
- { name: access_check, applies_to: _commerce_vipps_remote_log_access }
commerce_vipps.cart_token_subscriber:
class: Drupal\commerce_vipps\EventSubscriber\CartTokenSubscriber
arguments: ['@commerce_cart.cart_session', '@logger.channel.commerce_vipps', '@tempstore.shared', '@entity_type.manager']
abstract: TRUE
tags:
- { name: 'event_subscriber' }