You are here

public function BrightcoveVideo::setBrightcoveId in Brightcove Video Connect 8.2

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

Sets The Brightcove ID.

Parameters

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

Return value

\Drupal\brightcove\BrightcoveVideoPlaylistCMSEntityInterface The called Brightcove entity.

Overrides BrightcoveVideoPlaylistCMSEntityInterface::setBrightcoveId

1 call to BrightcoveVideo::setBrightcoveId()
BrightcoveVideo::save in src/Entity/BrightcoveVideo.php

File

src/Entity/BrightcoveVideo.php, line 305

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

public function setBrightcoveId($id) {
  $this
    ->set('video_id', $id);
  return $this;
}