You are here

public function Media::setThumbnail in Views TimelineJS integration 8.3

Sets the thumbnail image URL for this media.

Parameters

string $url: The thumbnail image URL.

Overrides MediaInterface::setThumbnail

File

src/TimelineJS/Media.php, line 65

Class

Media
Defines a TimelineJS3 media object.

Namespace

Drupal\views_timelinejs\TimelineJS

Code

public function setThumbnail($url) {
  $this->thumbnail = $url;
}