You are here

public function RadioactivityQueueWorkerBase::__construct in Radioactivity 8.3

Same name and namespace in other branches
  1. 4.0.x src/Plugin/QueueWorker/RadioactivityQueueWorkerBase.php \Drupal\radioactivity\Plugin\QueueWorker\RadioactivityQueueWorkerBase::__construct()

Constructs a RadioactivityQueueWorkerBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\radioactivity\RadioactivityProcessorInterface $radioactivity_processor: The radioactivity.processor service.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/RadioactivityQueueWorkerBase.php, line 34

Class

RadioactivityQueueWorkerBase
Base class for Radioactivity module queue worker plugins.

Namespace

Drupal\radioactivity\Plugin\QueueWorker

Code

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