You are here

public function BrightcoveClientQueueWorker::__construct in Brightcove Video Connect 8

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

Constructs a new BrightcoveClientQueueWorker 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_page_queue: The video page queue object.

\Drupal\Core\Queue\QueueInterface $playlist_page_queue: The playlist page queue object.

\Drupal\Core\Queue\QueueInterface $player_queue: The player queue object.

\Drupal\Core\Queue\QueueInterface $player_delete_queue: The player delete queue object.

\Drupal\Core\Queue\QueueInterface $custom_field_queue: The custom field queue object.

\Drupal\Core\Queue\QueueInterface $custom_field_delete_queue: The custom field queue object.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/BrightcoveClientQueueWorker.php, line 88

Class

BrightcoveClientQueueWorker
Processes Entity Update Tasks for Client.

Namespace

Drupal\brightcove\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, QueueInterface $video_page_queue, QueueInterface $playlist_page_queue, QueueInterface $player_queue, QueueInterface $player_delete_queue, QueueInterface $custom_field_queue, QueueInterface $custom_field_delete_queue) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->videoPageQueue = $video_page_queue;
  $this->playlistPageQueue = $playlist_page_queue;
  $this->playerQueue = $player_queue;
  $this->playerDeleteQueue = $player_delete_queue;
  $this->customFieldQueue = $custom_field_queue;
  $this->customFieldDeleteQueue = $custom_field_delete_queue;
}