You are here

xquantity_stock.services.yml in Commerce Extended Quantity 8

modules/xquantity_stock/xquantity_stock.services.yml

File

modules/xquantity_stock/xquantity_stock.services.yml
View source
  1. services:
  2. xquantity_stock.availability_checker:
  3. class: Drupal\xquantity_stock\XquantityStockAvailabilityChecker
  4. # tags:
  5. # - { name: commerce_order.availability_checker, priority: 100 }
  6. xquantity_stock.order:
  7. class: Drupal\xquantity_stock\EventSubscriber\XquantityStockOrderEventSubscriber
  8. arguments: ['@current_route_match', '@current_user', '@xquantity_stock.availability_checker']
  9. tags:
  10. - { name: event_subscriber }