You are here

public function MessageQueueBase::__construct in Open Social 10.2.x

Same name and namespace in other branches
  1. 10.3.x modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueBase.php \Drupal\activity_logger\Plugin\QueueWorker\MessageQueueBase::__construct()
  2. 10.0.x modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueBase.php \Drupal\activity_logger\Plugin\QueueWorker\MessageQueueBase::__construct()
  3. 10.1.x modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueBase.php \Drupal\activity_logger\Plugin\QueueWorker\MessageQueueBase::__construct()

MessageQueueBase constructor.

Parameters

array $configuration: The configuration.

string $plugin_id: The plugin id.

array $plugin_definition: The plugin definition.

\Drupal\Core\Queue\QueueFactory $queue: The queue.

Overrides PluginBase::__construct

1 call to MessageQueueBase::__construct()
MessageQueueCreator::__construct in modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueCreator.php
MessageQueueCreator constructor.
1 method overrides MessageQueueBase::__construct()
MessageQueueCreator::__construct in modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueCreator.php
MessageQueueCreator constructor.

File

modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueBase.php, line 32

Class

MessageQueueBase
Provides base functionality for the ReportWorkers.

Namespace

Drupal\activity_logger\Plugin\QueueWorker

Code

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