public function BrightcoveTextTrack::setWebVttFile in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setWebVttFile()
- 3.x src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setWebVttFile()
Sets the WebVTT file.
Parameters
array $file: The WebVTT file entity.
Return value
\Drupal\brightcove\BrightcoveTextTrackInterface The called BrightcoveTextTrack entity.
Overrides BrightcoveTextTrackInterface::setWebVttFile
File
- src/
Entity/ BrightcoveTextTrack.php, line 86
Class
- BrightcoveTextTrack
- Defines the Brightcove Text Track entity.
Namespace
Drupal\brightcove\EntityCode
public function setWebVttFile(array $file) {
return $this
->set('webvtt_file', $file);
}