commerce_license.services.yml in Commerce License 8.2
File
commerce_license.services.ymlView source
- services:
- commerce_license.referenceable_plugin_types_subscriber:
- class: Drupal\commerce_license\EventSubscriber\ReferenceablePluginTypesSubscriber
- tags:
- - { name: event_subscriber }
-
- plugin.manager.commerce_license_type:
- class: Drupal\commerce_license\LicenseTypeManager
- parent: default_plugin_manager
-
- commerce_license.order_subscriber:
- class: Drupal\commerce_license\EventSubscriber\OrderSubscriber
- arguments: ['@entity_type.manager']
- tags:
- - { name: event_subscriber }
-
- commerce_license.product_variation_type_form_alter:
- class: Drupal\commerce_license\FormAlter\ProductVariationTypeFormAlter
- arguments: ['@plugin.manager.commerce_license_type']
-
- commerce_license.multiple_license_order_processor:
- class: Drupal\commerce_license\LicenseOrderProcessorMultiples
- tags:
- - { name: commerce_order.order_processor }
-
- commerce_license.license_multiples_cart_event_subscriber:
- class: Drupal\commerce_license\EventSubscriber\LicenseMultiplesCartEventSubscriber
- tags:
- - { name: event_subscriber }
-
- commerce_license.license_availability_checker_existing:
- class: Drupal\commerce_license\LicenseAvailabilityCheckerExistingRights
- arguments: ['@current_user', '@entity_type.manager']
- tags:
- - { name: commerce_order.availability_checker }
-
- commerce_license.cron:
- class: \Drupal\commerce_license\Cron
- arguments: ['@entity_type.manager', '@datetime.time']