You are here

public function BrightcovePlayer::isPlaylist in Brightcove Video Connect 3.x

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

Returns whether the player is a playlist player or a single video player.

Return value

bool TRUE if playlist player, FALSE if single video player.

Overrides BrightcovePlayerInterface::isPlaylist

File

src/Entity/BrightcovePlayer.php, line 120

Class

BrightcovePlayer
Defines the Brightcove Player.

Namespace

Drupal\brightcove\Entity

Code

public function isPlaylist() {
  return $this
    ->get('playlist')->value;
}