You are here

public function BrightcoveTextTrack::getMimeType in Brightcove Video Connect 8

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

Returns the mime type.

Return value

string The mime type.

Overrides BrightcoveTextTrackInterface::getMimeType

File

src/Entity/BrightcoveTextTrack.php, line 163

Class

BrightcoveTextTrack
Defines the Brightcove Text Track entity.

Namespace

Drupal\brightcove\Entity

Code

public function getMimeType() {
  return $this
    ->get('mime_type')->value;
}