public function MessageSubscribe::__construct in Message Subscribe 8
Constructs the queue worker.
Overrides PluginBase::__construct
File
- src/
Plugin/ QueueWorker/ MessageSubscribe.php, line 33
Class
- MessageSubscribe
- Queue worker to process sending of message subscriptions.
Namespace
Drupal\message_subscribe\Plugin\QueueWorkerCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, SubscribersInterface $subscribers) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->subscribers = $subscribers;
}