You are here

public function BrightcoveTextTrack::setMimeType in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcoveTextTrack.php \Drupal\brightcove\Entity\BrightcoveTextTrack::setMimeType()
  2. 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\Entity

Code

public function setMimeType($mime_type) {
  return $this
    ->set('mime_type', $mime_type);
}