You are here

media_acquiadam.services.yml in Media: Acquia DAM 8

File

media_acquiadam.services.yml
View source
  1. services:
  2. media_acquiadam.cookie_samesite.session_configuration:
  3. class: Drupal\media_acquiadam\Session\CookieSameSiteSessionConfiguration
  4. decorates: session_configuration
  5. public: false
  6. arguments:
  7. - '%session.storage.options%'
  8. media_acquiadam.client_factory:
  9. class: Drupal\media_acquiadam\ClientFactory
  10. arguments: ['@config.factory', '@http_client', '@user.data', '@current_user']
  11. media_acquiadam.acquiadam:
  12. class: Drupal\media_acquiadam\Acquiadam
  13. arguments: ['@media_acquiadam.client_factory', 'background', '@logger.factory', '@media_acquiadam.asset_data']
  14. media_acquiadam.acquiadam_user_creds:
  15. class: Drupal\media_acquiadam\Acquiadam
  16. arguments: ['@media_acquiadam.client_factory', 'current', '@logger.factory', '@media_acquiadam.asset_data']
  17. media_acquiadam.oauth:
  18. class: Drupal\media_acquiadam\Oauth
  19. arguments: ['@config.factory', '@csrf_token', '@url_generator.non_bubbling', '@http_client', '@logger.factory', '@current_user', '@request_stack']
  20. media_acquiadam.asset_data:
  21. class: Drupal\media_acquiadam\AssetData
  22. arguments: ['@database']
  23. tags:
  24. - { name: backend_overridable }
  25. media_acquiadam.asset_image.helper:
  26. class: Drupal\media_acquiadam\Service\AssetImageHelper
  27. arguments: ['@config.factory', '@file_system', '@http_client', '@file.mime_type.guesser', '@image.factory']
  28. media_acquiadam.asset_metadata.helper:
  29. class: Drupal\media_acquiadam\Service\AssetMetadataHelper
  30. arguments: ['@date.formatter', '@media_acquiadam.acquiadam']
  31. media_acquiadam.asset_file.helper:
  32. class: Drupal\media_acquiadam\Service\AssetFileEntityHelper
  33. arguments: ['@entity_type.manager', '@entity_field.manager','@config.factory', '@file_system', '@token', '@media_acquiadam.asset_image.helper', '@media_acquiadam.acquiadam', '@media_acquiadam.asset_media.factory', '@logger.factory']
  34. media_acquiadam.asset_media.factory:
  35. class: Drupal\media_acquiadam\Service\AssetMediaFactory
  36. arguments: ['@entity_type.manager']
  37. media_acquiadam.asset_refresh.manager:
  38. class: Drupal\media_acquiadam\Service\AssetRefreshManager
  39. arguments: ['@media_acquiadam.acquiadam', '@state', '@logger.factory', '@queue', '@entity_type.manager', '@datetime.time']