You are here

public function BrightcoveVideo::setVideoUrl in Brightcove Video Connect 8.2

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

Sets the video URL.

Parameters

string $video_url: The video URL.

Return value

$this

Overrides BrightcoveVideoInterface::setVideoUrl

File

src/Entity/BrightcoveVideo.php, line 429

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

public function setVideoUrl($video_url) {
  $this
    ->set('video_url', $video_url);
  return $this;
}