public function MessageQueueCreator::__construct in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueCreator.php \Drupal\activity_logger\Plugin\QueueWorker\MessageQueueCreator::__construct()
- 10.0.x modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueCreator.php \Drupal\activity_logger\Plugin\QueueWorker\MessageQueueCreator::__construct()
- 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\QueueWorkerCode
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;
}