You are here

commerce_license.services.yml in Commerce License 8.2

File

commerce_license.services.yml
View source
  1. services:
  2. commerce_license.referenceable_plugin_types_subscriber:
  3. class: Drupal\commerce_license\EventSubscriber\ReferenceablePluginTypesSubscriber
  4. tags:
  5. - { name: event_subscriber }
  6. plugin.manager.commerce_license_type:
  7. class: Drupal\commerce_license\LicenseTypeManager
  8. parent: default_plugin_manager
  9. commerce_license.order_subscriber:
  10. class: Drupal\commerce_license\EventSubscriber\OrderSubscriber
  11. arguments: ['@entity_type.manager']
  12. tags:
  13. - { name: event_subscriber }
  14. commerce_license.product_variation_type_form_alter:
  15. class: Drupal\commerce_license\FormAlter\ProductVariationTypeFormAlter
  16. arguments: ['@plugin.manager.commerce_license_type']
  17. commerce_license.multiple_license_order_processor:
  18. class: Drupal\commerce_license\LicenseOrderProcessorMultiples
  19. tags:
  20. - { name: commerce_order.order_processor }
  21. commerce_license.license_multiples_cart_event_subscriber:
  22. class: Drupal\commerce_license\EventSubscriber\LicenseMultiplesCartEventSubscriber
  23. tags:
  24. - { name: event_subscriber }
  25. commerce_license.license_availability_checker_existing:
  26. class: Drupal\commerce_license\LicenseAvailabilityCheckerExistingRights
  27. arguments: ['@current_user', '@entity_type.manager']
  28. tags:
  29. - { name: commerce_order.availability_checker }
  30. commerce_license.cron:
  31. class: \Drupal\commerce_license\Cron
  32. arguments: ['@entity_type.manager', '@datetime.time']