You are here

public function BrightcoveTextTrack::setSource in Brightcove Video Connect 8

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

Sets the source link.

Parameters

string $source: The related link.

Return value

\Drupal\brightcove\BrightcoveTextTrackInterface The called BrightcoveTextTrack entity.

Overrides BrightcoveTextTrackInterface::setSource

File

src/Entity/BrightcoveTextTrack.php, line 114

Class

BrightcoveTextTrack
Defines the Brightcove Text Track entity.

Namespace

Drupal\brightcove\Entity

Code

public function setSource($source) {
  return $this
    ->set('source', $source);
}