You are here

public function BrightcoveVideoDeleteQueueWorker::__construct in Brightcove Video Connect 8.2

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

Constructs a new BrightcoveVideoQueueWorker 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\Entity\EntityStorageInterface $storage: Brightcove Video Entity storage.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/BrightcoveVideoDeleteQueueWorker.php, line 42

Class

BrightcoveVideoDeleteQueueWorker
Processes Entity Delete Tasks for Video.

Namespace

Drupal\brightcove\Plugin\QueueWorker

Code

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