You are here

protected function BrightcovePlayer::setVersion in Brightcove Video Connect 3.x

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

Sets the version of the player.

Parameters

string $version: The version of the player.

Return value

\Drupal\brightcove\BrightcovePlayerInterface The called Brightcove Player.

File

src/Entity/BrightcovePlayer.php, line 147

Class

BrightcovePlayer
Defines the Brightcove Player.

Namespace

Drupal\brightcove\Entity

Code

protected function setVersion($version) {
  return $this
    ->set('version', $version);
}