-
Notifications
You must be signed in to change notification settings - Fork 1
/
commerce_trustedshops.services.yml
29 lines (24 loc) · 1.3 KB
/
commerce_trustedshops.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
services:
commerce_trustedshops.chain_shop_resolver:
class: Drupal\commerce_trustedshops\Resolver\Shop\ChainShopResolver
tags:
- { name: service_collector, call: addResolver, tag: commerce_trustedshops.shop_resolver }
commerce_trustedshops.default_shop_resolver:
class: Drupal\commerce_trustedshops\Resolver\Shop\DefaultShopResolver
arguments: ['@entity_type.manager', '@entity.repository', '@commerce_store.current_store', '@language_manager']
tags:
- { name: commerce_trustedshops.shop_resolver, priority: -100 }
commerce_trustedshops.chain_order_language_resolver:
class: Drupal\commerce_trustedshops\Resolver\OrderLanguage\ChainOrderLanguageResolver
tags:
- { name: service_collector, call: addResolver, tag: commerce_trustedshops.order_language_resolver }
commerce_trustedshops.default_order_language_resolver:
class: Drupal\commerce_trustedshops\Resolver\OrderLanguage\DefaultOrderLanguageResolver
tags:
- { name: commerce_trustedshops.order_language_resolver, priority: -100 }
commerce_trustedshops.api:
class: Antistatique\TrustedShops\TrustedShops
arguments: ['public']
commerce_trustedshops.api.review:
class: Drupal\commerce_trustedshops\API\Review
arguments: ['@commerce_trustedshops.api', '@config.factory', '@event_dispatcher']