You are here

public function BrightcoveTextTrack::setTextTrackId in Brightcove Video Connect 8

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

Sets the Brightcove ID of the Text Track.

Parameters

string $text_track_id: The Brightcove ID of the Text Track.

Return value

\Drupal\brightcove\BrightcoveTextTrackInterface The called BrightcoveTextTrack entity.

Overrides BrightcoveTextTrackInterface::setTextTrackId

File

src/Entity/BrightcoveTextTrack.php, line 100

Class

BrightcoveTextTrack
Defines the Brightcove Text Track entity.

Namespace

Drupal\brightcove\Entity

Code

public function setTextTrackId($text_track_id) {
  return $this
    ->set('text_track_id', $text_track_id);
}