You are here

public function BrightcoveTextTrack::getSource in Brightcove Video Connect 8

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

Returns the source link.

Return value

array The related link.

Overrides BrightcoveTextTrackInterface::getSource

File

src/Entity/BrightcoveTextTrack.php, line 107

Class

BrightcoveTextTrack
Defines the Brightcove Text Track entity.

Namespace

Drupal\brightcove\Entity

Code

public function getSource() {
  return $this
    ->get('source')->value;
}