You are here

service queue_mail.language_negotiator in Queue Mail 8

Class

Drupal\queue_mail_language\QueueMailLanguageNegotiator
1 string reference to queue_mail.language_negotiator
LanguageAwareSendMailQueueWorker::create in modules/queue_mail_language/src/Plugin/QueueWorker/LanguageAwareSendMailQueueWorker.php
Creates an instance of the plugin.

File

modules/queue_mail_language/queue_mail_language.services.yml
modules/queue_mail_language/queue_mail_language.services.yml

View source
  1. class: Drupal\queue_mail_language\QueueMailLanguageNegotiator
  2. arguments:
  3. - '@language_manager'
  4. - '@plugin.manager.language_negotiation_method'
  5. - '@config.factory'
  6. - '@settings'
  7. - '@request_stack'
  8. calls:
  9. - [initLanguageManager]