You are here

public function MessageDigest::__construct in Message Digest 8

Constructs the queue worker.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/MessageDigest.php, line 33

Class

MessageDigest
Queue worker to process sending of message subscriptions.

Namespace

Drupal\message_digest\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, DigestManagerInterface $digest_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->digestManager = $digest_manager;
}