You are here

public function BrightcovePlayerDeleteQueueWorker::__construct in Brightcove Video Connect 3.x

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

Constructs a new BrightcovePlayerDeleteQueueWorker 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: The storage object.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/BrightcovePlayerDeleteQueueWorker.php, line 40

Class

BrightcovePlayerDeleteQueueWorker
Processes Entity Delete Tasks for Player.

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;
}