You are here

public function BrightcovePlayer::setPlaylist in Brightcove Video Connect 8.2

Same name and namespace in other branches
  1. 3.x src/Entity/BrightcovePlayer.php \Drupal\brightcove\Entity\BrightcovePlayer::setPlaylist()

Sets if the player is a playlist player or single video player.

Parameters

bool $is_playlist: TRUE if playlist player, FALSE if single video player.

Return value

\Drupal\brightcove\BrightcovePlayerInterface The called Brightcove Player.

Overrides BrightcovePlayerInterface::setPlaylist

File

src/Entity/BrightcovePlayer.php, line 127

Class

BrightcovePlayer
Defines the Brightcove Player.

Namespace

Drupal\brightcove\Entity

Code

public function setPlaylist($playlist) {
  return $this
    ->set('playlist', $playlist);
}