You are here

public function SendMailBase::__construct in Mailgun 8

SendMailBase constructor.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/SendMailBase.php, line 41

Class

SendMailBase
Provides base functionality for the SendMail Queue Workers.

Namespace

Drupal\mailgun\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ImmutableConfig $settings, LoggerInterface $logger, MailgunHandlerInterface $mailgun_handler) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->mailgunConfig = $settings;
  $this->logger = $logger;
  $this->mailgunHandler = $mailgun_handler;
}