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