public function BrightcoveVideoController::__construct in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Controller/BrightcoveVideoController.php \Drupal\brightcove\Controller\BrightcoveVideoController::__construct()
- 3.x src/Controller/BrightcoveVideoController.php \Drupal\brightcove\Controller\BrightcoveVideoController::__construct()
Controller constructor.
Parameters
\Drupal\Core\Database\Connection $connection: Database connection.
\Drupal\Core\Entity\EntityStorageInterface $video_storage: Brightcove Video entity storage.
\Drupal\Core\Entity\EntityStorageInterface $text_track_storage: Brightcove Text Track entity storage.
\Drupal\Core\Queue\QueueInterface $video_queue: The Video queue object.
File
- src/
Controller/ BrightcoveVideoController.php, line 64
Class
- BrightcoveVideoController
- Provides controller for video related callbacks.
Namespace
Drupal\brightcove\ControllerCode
public function __construct(Connection $connection, EntityStorageInterface $video_storage, EntityStorageInterface $text_track_storage, QueueInterface $video_queue) {
$this->connection = $connection;
$this->videoStorage = $video_storage;
$this->textTrackStorage = $text_track_storage;
$this->videoQueue = $video_queue;
}