public function BrightcoveTextTrack::setMimeType in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setMimeType()
- 3.x src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setMimeType()
Sets the mime type.
Parameters
string $mime_type: The mime type.
Return value
\Drupal\brightcove\BrightcoveTextTrackInterface The called BrightcoveTextTrack entity.
Overrides BrightcoveTextTrackInterface::setMimeType
File
- src/
Entity/ BrightcoveTextTrack.php, line 170
Class
- BrightcoveTextTrack
- Defines the Brightcove Text Track entity.
Namespace
Drupal\brightcove\EntityCode
public function setMimeType($mime_type) {
return $this
->set('mime_type', $mime_type);
}