You are here

public function BrightcoveTextTrack::setAssetId in Brightcove Video Connect 8

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

Sets the Asset ID.

Parameters

string $asset_id: The asset ID.

Return value

\Drupal\brightcove\BrightcoveTextTrackInterface The called BrightcoveTextTrack entity.

Overrides BrightcoveTextTrackInterface::setAssetId

File

src/Entity/BrightcoveTextTrack.php, line 184

Class

BrightcoveTextTrack
Defines the Brightcove Text Track entity.

Namespace

Drupal\brightcove\Entity

Code

public function setAssetId($asset_id) {
  return $this
    ->set('asset_id', $asset_id);
}