You are here

public function BrightcovePlaylistInterface::setVideos in Brightcove Video Connect 3.x

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

Sets the playlist's videos.

Parameters

array $videos: The videos on the playlist. Array of ['target_id' => int] items.

Return value

\Drupal\brightcove\BrightcovePlaylistInterface The called Brightcove Playlist.

1 method overrides BrightcovePlaylistInterface::setVideos()
BrightcovePlaylist::setVideos in src/Entity/BrightcovePlaylist.php
Sets the playlist's videos.

File

src/BrightcovePlaylistInterface.php, line 84

Class

BrightcovePlaylistInterface
Provides an interface for defining Brightcove Playlists.

Namespace

Drupal\brightcove

Code

public function setVideos(array $videos);