You are here

commerce_file.services.yml in Commerce File 8.2

File

commerce_file.services.yml
View source
  1. services:
  2. commerce_file.download_logger:
  3. class: Drupal\commerce_file\DownloadLogger
  4. arguments: ['@database', '@request_stack', '@datetime.time']
  5. commerce_file.license_file_manager:
  6. class: Drupal\commerce_file\LicenseFileManager
  7. arguments: ['@current_user', '@config.factory', '@entity_type.manager', '@commerce_file.download_logger']
  8. commerce_file.file_response_subscriber:
  9. class: Drupal\commerce_file\EventSubscriber\FileResponseSubscriber
  10. arguments: ['@current_user', '@entity_type.manager', '@commerce_file.download_logger', '@commerce_file.license_file_manager']
  11. tags:
  12. - { name: event_subscriber }