You are here

public function BrightcovePlayer::setPlayerId in Brightcove Video Connect 8

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

Sets The Brightcove Player ID.

Parameters

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

Return value

\Drupal\brightcove\BrightcovePlayerInterface The called Brightcove Player.

Overrides BrightcovePlayerInterface::setPlayerId

File

src/Entity/BrightcovePlayer.php, line 42

Class

BrightcovePlayer
Defines the Brightcove Player.

Namespace

Drupal\brightcove\Entity

Code

public function setPlayerId($player_id) {
  $this
    ->set('player_id', $player_id);
  return $this;
}