You are here

public function BrightcoveVideoPageQueueWorker::__construct in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/QueueWorker/BrightcoveVideoPageQueueWorker.php \Drupal\brightcove\Plugin\QueueWorker\BrightcoveVideoPageQueueWorker::__construct()
  2. 3.x src/Plugin/QueueWorker/BrightcoveVideoPageQueueWorker.php \Drupal\brightcove\Plugin\QueueWorker\BrightcoveVideoPageQueueWorker::__construct()

Constructs a new BrightcoveVideoPageQueueWorker 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\Core\Queue\QueueInterface $video_queue: The queue object.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/BrightcoveVideoPageQueueWorker.php, line 41

Class

BrightcoveVideoPageQueueWorker
Processes Entity Update Tasks for Video.

Namespace

Drupal\brightcove\Plugin\QueueWorker

Code

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