You are here

public function BrightcoveVideo::getVideoId in Brightcove Video Connect 8

Returns the Brightcove Video ID.

Return value

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

Overrides BrightcoveVideoInterface::getVideoId

3 calls to BrightcoveVideo::getVideoId()
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 293

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

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