public function BrightcovePlaylistQueueWorker::__construct in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Plugin/QueueWorker/BrightcovePlaylistQueueWorker.php \Drupal\brightcove\Plugin\QueueWorker\BrightcovePlaylistQueueWorker::__construct()
- 3.x src/Plugin/QueueWorker/BrightcovePlaylistQueueWorker.php \Drupal\brightcove\Plugin\QueueWorker\BrightcovePlaylistQueueWorker::__construct()
Constructs a new BrightcovePlaylistQueueWorker 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 $playlist_storage: The brightcove_playlist storage.
\Drupal\Core\Entity\EntityStorageInterface $video_storage: The brightcove_video storage.
Overrides PluginBase::__construct
File
- src/
Plugin/ QueueWorker/ BrightcovePlaylistQueueWorker.php, line 51
Class
- BrightcovePlaylistQueueWorker
- Processes Entity Update Tasks for Playlist.
Namespace
Drupal\brightcove\Plugin\QueueWorkerCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, EntityStorageInterface $playlist_storage, EntityStorageInterface $video_storage) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->playlistStorage = $playlist_storage;
$this->videoStorage = $video_storage;
}