public function BrightcoveTextTrack::setSourceLanguage in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setSourceLanguage()
- 3.x src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setSourceLanguage()
Sets the source language.
Parameters
string $source_language: A 2-letter source language code, eg.: hu, en.
Return value
\Drupal\brightcove\BrightcoveTextTrackInterface The called BrightcoveTextTrack entity.
Overrides BrightcoveTextTrackInterface::setSourceLanguage
File
- src/
Entity/ BrightcoveTextTrack.php, line 128
Class
- BrightcoveTextTrack
- Defines the Brightcove Text Track entity.
Namespace
Drupal\brightcove\EntityCode
public function setSourceLanguage($source_language) {
return $this
->set('source_language', $source_language);
}