You are here

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

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

Returns the Brightcove ID.

Return value

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

Overrides BrightcoveVideoPlaylistCMSEntityInterface::getBrightcoveId

3 calls to BrightcoveVideo::getBrightcoveId()
BrightcoveVideo::delete in src/Entity/BrightcoveVideo.php
BrightcoveVideo::getIngestionToken in src/Entity/BrightcoveVideo.php
Get a random hash token for ingestion request callback.
BrightcoveVideo::save in src/Entity/BrightcoveVideo.php

File

src/Entity/BrightcoveVideo.php, line 298

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

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