You are here

public function BrightcoveTextTrack::getAssetId in Brightcove Video Connect 8

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

Returns the asset ID.

Only for managed text tracks.

Return value

string Asset ID.

Overrides BrightcoveTextTrackInterface::getAssetId

File

src/Entity/BrightcoveTextTrack.php, line 177

Class

BrightcoveTextTrack
Defines the Brightcove Text Track entity.

Namespace

Drupal\brightcove\Entity

Code

public function getAssetId() {
  return $this
    ->get('asset_id')->value;
}