You are here

public function BrightcoveTextTrack::setSources in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setSources()
  2. 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\Entity

Code

public function setSources(array $sources) {
  return $this
    ->set('sources', $sources);
}