You are here

public function BrightcovePlaylist::getBrightcoveId in Brightcove Video Connect 3.x

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

Returns the Brightcove ID.

Return value

int The Brightcove ID (not the entity's).

Overrides BrightcoveVideoPlaylistCMSEntityInterface::getBrightcoveId

2 calls to BrightcovePlaylist::getBrightcoveId()
BrightcovePlaylist::delete in src/Entity/BrightcovePlaylist.php
BrightcovePlaylist::save in src/Entity/BrightcovePlaylist.php

File

src/Entity/BrightcovePlaylist.php, line 186

Class

BrightcovePlaylist
Defines the Brightcove Playlist.

Namespace

Drupal\brightcove\Entity

Code

public function getBrightcoveId() {
  return $this
    ->get('playlist_id')->value;
}