public function BrightcovePlayer::setPlayerId in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcovePlayer.php \Drupal\brightcove\Entity\BrightcovePlayer::setPlayerId()
- 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\EntityCode
public function setPlayerId($player_id) {
$this
->set('player_id', $player_id);
return $this;
}