You are here

public function BrightcoveVideo::setVideoUrl in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 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 424

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;
}