-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcommerce_product_bundle.services.yml
38 lines (34 loc) · 1.65 KB
/
commerce_product_bundle.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
services:
access_check.bundle_item_collection:
class: Drupal\commerce_product_bundle\Access\BundleItemCollectionAccessCheck
arguments: [ '@entity_type.manager' ]
tags:
- { name: access_check, applies_to: _bundle_item_collection_access }
access_check.bundle_item_create:
class: Drupal\commerce_product_bundle\Access\BundleItemCreateAccessCheck
arguments: [ '@entity_type.manager' ]
tags:
- { name: access_check, applies_to: _bundle_item_create_access }
commerce_product_bundle.lazy_builders:
class: Drupal\commerce_product_bundle\ProductBundleLazyBuilders
arguments: ['@entity_type.manager', '@form_builder', '@entity.repository']
commerce_product_bundle.product_bundle_route_context:
class: Drupal\commerce_product_bundle\ContextProvider\ProductBundleRouteContext
arguments: [ '@current_route_match', '@entity_type.manager' ]
tags:
- { name: 'context_provider' }
commerce_product_bundle.product_bundle_item_route_context:
class: Drupal\commerce_product_bundle\ContextProvider\ProductBundleItemContext
arguments: [ '@current_route_match', '@entity_type.manager' ]
tags:
- { name: 'context_provider' }
commerce_product_bundle.bundle_price_resolver:
class: Drupal\commerce_product_bundle\Resolver\BundlePriceResolver
arguments: ['@commerce_store.current_store']
tags:
- { name: commerce_price.price_resolver, priority: -50 }
commerce_product_bundle.bundle_item_order_item_subcriber:
class: Drupal\commerce_product_bundle\EventSubscriber\BundleItemOrderItemSubscriber
arguments: ['@entity_type.manager']
tags:
- { name: 'event_subscriber' }