You are here

public function BrightcovePlaylist::getType in Brightcove Video Connect 8

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

Returns the playlist type.

Return value

string The type of the playlist.

Overrides BrightcovePlaylistInterface::getType

1 call to BrightcovePlaylist::getType()
BrightcovePlaylist::save in src/Entity/BrightcovePlaylist.php

File

src/Entity/BrightcovePlaylist.php, line 165

Class

BrightcovePlaylist
Defines the Brightcove Playlist.

Namespace

Drupal\brightcove\Entity

Code

public function getType() {
  return $this
    ->get('type')->value;
}