You are here

public function BrightcovePlayer::getVersion in Brightcove Video Connect 8.2

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

Gets the version of the player.

Return value

string The version of the player.

Overrides BrightcovePlayerInterface::getVersion

File

src/Entity/BrightcovePlayer.php, line 134

Class

BrightcovePlayer
Defines the Brightcove Player.

Namespace

Drupal\brightcove\Entity

Code

public function getVersion() {
  return $this
    ->get('version')->value;
}