You are here

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

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

Controller constructor.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $playlist_storage: Playlist EntityStorage.

\Drupal\Core\Entity\EntityStorageInterface $video_storage: Video EntityStorage.

File

src/Controller/BrightcovePlaylistController.php, line 38

Class

BrightcovePlaylistController
Provides controller for playlist related callbacks.

Namespace

Drupal\brightcove\Controller

Code

public function __construct(EntityStorageInterface $playlist_storage, EntityStorageInterface $video_storage) {
  $this->playlistStorage = $playlist_storage;
  $this->videoStorage = $video_storage;
}