public function BrightcoveTextTrack::setKind in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setKind()
- 3.x src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setKind()
Sets the Text Tracks's kind.
Parameters
string $kind: The Text Tracks's kind. Possible values are:
- BrightcoveTextTrack::KIND_CAPTIONS
- BrightcoveTextTrack::KIND_SUBTITLES
- BrightcoveTextTrack::KIND_DESCRIPTION
- BrightcoveTextTrack::KIND_CHAPTERS
- BrightcoveTextTrack::KIND_METADATA
.
Return value
\Drupal\brightcove\BrightcoveTextTrackInterface The called BrightcoveTextTrack entity.
Overrides BrightcoveTextTrackInterface::setKind
File
- src/
Entity/ BrightcoveTextTrack.php, line 156
Class
- BrightcoveTextTrack
- Defines the Brightcove Text Track entity.
Namespace
Drupal\brightcove\EntityCode
public function setKind($kind) {
return $this
->set('kind', $kind);
}