You are here

public function BrightcovePlayer::getPlayerId in Brightcove Video Connect 8

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

Returns the Brightcove Player ID.

Return value

string The Brightcove Player ID (not the entity's).

Overrides BrightcovePlayerInterface::getPlayerId

File

src/Entity/BrightcovePlayer.php, line 35

Class

BrightcovePlayer
Defines the Brightcove Player.

Namespace

Drupal\brightcove\Entity

Code

public function getPlayerId() {
  return $this
    ->get('player_id')->value;
}