You are here

commerce_payment.services.yml in Commerce Core 8.2

modules/payment/commerce_payment.services.yml

File

modules/payment/commerce_payment.services.yml
View source
  1. services:
  2. access_check.commerce_payment.operation:
  3. class: Drupal\commerce_payment\Access\PaymentOperationAccessCheck
  4. tags:
  5. - { name: access_check, applies_to: _commerce_payment_operation_access }
  6. logger.channel.commerce_payment:
  7. class: Drupal\Core\Logger\LoggerChannel
  8. factory: logger.factory:get
  9. arguments: ['commerce_payment']
  10. plugin.manager.commerce_payment_gateway:
  11. class: Drupal\commerce_payment\PaymentGatewayManager
  12. parent: default_plugin_manager
  13. plugin.manager.commerce_payment_method_type:
  14. class: Drupal\commerce_payment\PaymentMethodTypeManager
  15. parent: default_plugin_manager
  16. plugin.manager.commerce_payment_type:
  17. class: Drupal\commerce_payment\PaymentTypeManager
  18. parent: default_plugin_manager
  19. commerce_payment.filter_conditions_subscriber:
  20. class: Drupal\commerce_payment\EventSubscriber\FilterConditionsEventSubscriber
  21. tags:
  22. - { name: event_subscriber }
  23. commerce_payment.order_assign_subscriber:
  24. class: Drupal\commerce_payment\EventSubscriber\OrderAssignSubscriber
  25. arguments: ['@commerce_order.address_book']
  26. tags:
  27. - { name: event_subscriber }
  28. commerce_payment.order_paid_subscriber:
  29. class: Drupal\commerce_payment\EventSubscriber\OrderPaidSubscriber
  30. tags:
  31. - { name: event_subscriber }
  32. commerce_payment.options_builder:
  33. class: Drupal\commerce_payment\PaymentOptionsBuilder
  34. arguments: ['@entity_type.manager', '@string_translation']
  35. commerce_payment.order_processor:
  36. class: Drupal\commerce_payment\PaymentOrderProcessor
  37. arguments: ['@commerce_payment.order_updater']
  38. tags:
  39. - { name: commerce_order.order_processor, priority: 400, adjustment_type: tax }
  40. commerce_payment.order_updater:
  41. class: Drupal\commerce_payment\PaymentOrderUpdater
  42. arguments: ['@entity_type.manager']
  43. tags:
  44. - { name: needs_destruction }