You are here

protected function AmazonSes::setQueue in Amazon SES 2.0.x

Set the queue object.

Parameters

\Drupal\Core\Queue\QueueFactory $queue_factory: The queue factory service.

Return value

$this

File

src/Plugin/Mail/AmazonSes.php, line 79

Class

AmazonSes
Amazon SES mail system plugin.

Namespace

Drupal\amazon_ses\Plugin\Mail

Code

protected function setQueue(QueueFactory $queue_factory) {
  $this->queue = $queue_factory
    ->get('amazon_ses_mail_queue');
  return $this;
}