You are here

protected function SendMailQueueWorker::setActiveLanguage in Queue Mail 8

Restores back the negotiated language.

Parameters

array $message: Mail message.

string $langcode: The negotiated language code.

1 call to SendMailQueueWorker::setActiveLanguage()
SendMailQueueWorker::processItem in src/Plugin/QueueWorker/SendMailQueueWorker.php
Works on a single queue item.
1 method overrides SendMailQueueWorker::setActiveLanguage()
LanguageAwareSendMailQueueWorker::setActiveLanguage in modules/queue_mail_language/src/Plugin/QueueWorker/LanguageAwareSendMailQueueWorker.php
Restores back the negotiated language.

File

src/Plugin/QueueWorker/SendMailQueueWorker.php, line 212

Class

SendMailQueueWorker
Sends emails form queue.

Namespace

Drupal\queue_mail\Plugin\QueueWorker

Code

protected function setActiveLanguage(array $message, $langcode) {
}