public function MessageQueueBase::__construct in Open Social 10.0.x
Same name and namespace in other branches
- 10.3.x modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueBase.php \Drupal\activity_logger\Plugin\QueueWorker\MessageQueueBase::__construct()
- 10.1.x modules/custom/activity_logger/src/Plugin/QueueWorker/MessageQueueBase.php \Drupal\activity_logger\Plugin\QueueWorker\MessageQueueBase::__construct()
- 10.2.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\QueueWorkerCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, QueueFactory $queue) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->queue = $queue;
}