You are here

public function MessageQueueCreator::__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/MessageQueueCreator.php \Drupal\activity_logger\Plugin\QueueWorker\MessageQueueCreator::__construct()
  2. 10.0.x modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueCreator.php \Drupal\activity_logger\Plugin\QueueWorker\MessageQueueCreator::__construct()
  3. 10.1.x modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueCreator.php \Drupal\activity_logger\Plugin\QueueWorker\MessageQueueCreator::__construct()

MessageQueueCreator 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.

\Drupal\activity_creator\Plugin\ActivityActionManager $actionManager: The action manager.

Overrides MessageQueueBase::__construct

File

modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueCreator.php, line 45

Class

MessageQueueCreator
A report worker.

Namespace

Drupal\activity_logger\Plugin\QueueWorker

Code

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