You are here

commerce_demo.services.yml in Commerce Demo 8

Same filename and directory in other branches
  1. 8.2 commerce_demo.services.yml

File

commerce_demo.services.yml
View source
  1. services:
  2. commerce_demo.content_exporter:
  3. class: Drupal\commerce_demo\ContentExporter
  4. arguments: ['@entity_type.manager']
  5. commerce_demo.content_importer:
  6. class: Drupal\commerce_demo\ContentImporter
  7. arguments: ['@entity_type.manager', '@file_system']
  8. commerce_demo.address_events_subscriber:
  9. class: Drupal\commerce_demo\EventSubscriber\AddressEventsSubscriber
  10. tags:
  11. - { name: event_subscriber }
  12. commerce_demo.order_events_subscriber:
  13. class: Drupal\commerce_demo\EventSubscriber\OrderEventsSubscriber
  14. tags:
  15. - { name: event_subscriber }
  16. commerce_demo.product_breadcrumb_builder:
  17. class: Drupal\commerce_demo\ProductBreadcrumbBuilder
  18. arguments: ['@pathauto.alias_cleaner', '@entity_type.manager', '@router.route_provider']
  19. tags:
  20. - { name: breadcrumb_builder, priority: 1100 }
  21. commerce_demo.catalog_breadcrumb_builder:
  22. class: Drupal\commerce_demo\CatalogBreadcrumbBuilder
  23. arguments: ['@request_stack', '@title_resolver', '@entity_type.manager']
  24. tags:
  25. # facets_pretty_path is set to 1500.
  26. - { name: breadcrumb_builder, priority: 1501 }
  27. commerce_demo.theme_handler:
  28. class: Drupal\commerce_demo\ThemeHandler
  29. arguments: ['@entity_type.manager']