You are here

public function BrightcoveTextTrack::getWebVttFile in Brightcove Video Connect 8

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

Returns the WebVTT file entity.

Return value

array WebVTT file entity.

Overrides BrightcoveTextTrackInterface::getWebVttFile

File

src/Entity/BrightcoveTextTrack.php, line 79

Class

BrightcoveTextTrack
Defines the Brightcove Text Track entity.

Namespace

Drupal\brightcove\Entity

Code

public function getWebVttFile() {
  return $this
    ->get('webvtt_file')
    ->getValue();
}