You are here

public function BrightcoveVideo::setVideoId in Brightcove Video Connect 8

Sets The Brightcove Video ID.

Parameters

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

Return value

\Drupal\brightcove\BrightcoveVideoInterface The called Brightcove Video.

Overrides BrightcoveVideoInterface::setVideoId

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

File

src/Entity/BrightcoveVideo.php, line 300

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

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