You are here

public function BrightcoveVideoInterface::setThumbnail in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/BrightcoveVideoInterface.php \Drupal\brightcove\BrightcoveVideoInterface::setThumbnail()
  2. 3.x src/BrightcoveVideoInterface.php \Drupal\brightcove\BrightcoveVideoInterface::setThumbnail()

Sets the video's thumbnail image.

Parameters

array|null $thumbnail: The thumbnail image which needs to be saved on the entity.

Return value

\Drupal\brightcove\BrightcoveVideoInterface The called Brightcove Video.

1 method overrides BrightcoveVideoInterface::setThumbnail()
BrightcoveVideo::setThumbnail in src/Entity/BrightcoveVideo.php
Sets the video's thumbnail image.

File

src/BrightcoveVideoInterface.php, line 321

Class

BrightcoveVideoInterface
Provides an interface for defining Brightcove Videos.

Namespace

Drupal\brightcove

Code

public function setThumbnail($thumbnail);