You are here

commerce_reports.services.yml in Commerce Reporting 8

File

commerce_reports.services.yml
View source
  1. services:
  2. commerce_reports.order_placed_subscriber:
  3. class: Drupal\commerce_reports\EventSubscriber\OrderPlacedEventSubscriber
  4. arguments: ['@state', '@commerce_reports.order_report_generator']
  5. tags:
  6. - { name: event_subscriber }
  7. commerce_reports.query_builder:
  8. class: Drupal\commerce_reports\ReportQueryBuilder
  9. arguments: ['@entity_type.manager']
  10. plugin.manager.commerce_report_type:
  11. class: Drupal\commerce_reports\ReportTypeManager
  12. parent: default_plugin_manager
  13. commerce_reports.order_report_generator:
  14. class: Drupal\commerce_reports\OrderReportGenerator
  15. arguments: ['@entity_type.manager', '@plugin.manager.commerce_report_type']