You are here

mandrill.services.yml in Mandrill 8

File

mandrill.services.yml
View source
  1. services:
  2. mandrill.service:
  3. class: Drupal\mandrill\MandrillService
  4. arguments: ['@mandrill.api', '@config.factory', '@logger.factory']
  5. mandrill.api:
  6. class: Drupal\mandrill\MandrillAPI
  7. arguments: ['@config.factory', '@logger.factory']
  8. mandrill.test.service:
  9. class: Drupal\mandrill\MandrillTestService
  10. arguments: ['@mandrill.test.api', '@config.factory', '@logger.factory']
  11. mandrill.test.api:
  12. class: Drupal\mandrill\MandrillTestAPI
  13. arguments: ['@config.factory', '@logger.factory']
  14. cache.mandrill:
  15. class: Drupal\Core\Cache\CacheBackendInterface
  16. tags:
  17. - { name: cache.bin }
  18. factory: cache_factory:get
  19. arguments: ['mandrill']
  20. access_check.mandrill.configuration:
  21. class: Drupal\mandrill\Access\MandrillConfigurationAccessCheck
  22. arguments: ['@current_user']
  23. tags:
  24. - { name: access_check, applies_to: _mandrill_configuration_access_check }
  25. access_check.mandrill.mailer:
  26. class: Drupal\mandrill\Access\MandrillMailerAccessCheck
  27. tags:
  28. - { name: access_check, applies_to: _mandrill_mailer_access_check }