You are here

sms.services.yml in SMS Framework 2.x

Same filename and directory in other branches
  1. 8 sms.services.yml
  2. 2.1.x sms.services.yml

File

sms.services.yml
View source
  1. services:
  2. sms.route_enhancer:
  3. class: Drupal\sms\Routing\Enhancer\SmsRouteEnhancer
  4. tags:
  5. - { name: route_enhancer }
  6. sms.provider:
  7. alias: sms.provider.default
  8. sms.provider.default:
  9. class: Drupal\sms\Provider\DefaultSmsProvider
  10. arguments: ['@event_dispatcher']
  11. plugin.manager.sms_gateway:
  12. class: Drupal\sms\Plugin\SmsGatewayPluginManager
  13. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
  14. sms.phone_number:
  15. class: Drupal\sms\Provider\PhoneNumberProvider
  16. arguments: ['@event_dispatcher', '@sms.provider']
  17. sms.phone_number.verification:
  18. class: Drupal\sms\Provider\PhoneNumberVerification
  19. arguments: ['@entity_type.manager', '@config.factory', '@token', '@sms.provider', '@datetime.time']
  20. sms.queue:
  21. class: Drupal\sms\Provider\SmsQueueProcessor
  22. arguments: ['@entity_type.manager', '@queue', '@sms.provider', '@datetime.time']
  23. sms.sms_message_processor:
  24. class: Drupal\sms\EventSubscriber\SmsMessageProcessor
  25. arguments: ['@event_dispatcher', '@config.factory']
  26. tags:
  27. - { name: event_subscriber }
  28. sms.entity_phone_number:
  29. class: Drupal\sms\EventSubscriber\SmsEntityPhoneNumberProcessor
  30. arguments: ['@sms.phone_number.verification']
  31. tags:
  32. - { name: event_subscriber }
  33. sms.delivery_reports_processor:
  34. class: Drupal\sms\EventSubscriber\SmsDeliveryReportsProcessor
  35. arguments: ['@entity_type.manager']
  36. tags:
  37. - { name: event_subscriber }
  38. access_check.sms.gateway_supports_pushed_reports:
  39. class: Drupal\sms\Access\SupportsPushedReportsAccessCheck
  40. tags:
  41. - { name: access_check, applies_to: _sms_gateway_supports_pushed_reports }