public function BrightcoveVideoController::__construct in Brightcove Video Connect 3.x
Same name and namespace in other branches
- 8.2 src/Controller/BrightcoveVideoController.php \Drupal\brightcove\Controller\BrightcoveVideoController::__construct()
- 8 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.
\Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $key_value_expirable: Key-value expirable store.
\Drupal\Core\Lock\LockBackendInterface $lock: Lock backend.
File
- src/
Controller/ BrightcoveVideoController.php, line 84
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, KeyValueExpirableFactoryInterface $key_value_expirable, LockBackendInterface $lock) {
$this->connection = $connection;
$this->videoStorage = $video_storage;
$this->textTrackStorage = $text_track_storage;
$this->videoQueue = $video_queue;
$this->keyValueExpirable = $key_value_expirable;
$this->lock = $lock;
}