You are here

public function Video::getDefaultThumbnail in Media entity video 8

Gets the default thumbnail image.

Return value

string Uri of the default thumbnail image.

Overrides MediaTypeBase::getDefaultThumbnail

1 call to Video::getDefaultThumbnail()
Video::thumbnail in src/Plugin/MediaEntity/Type/Video.php
Gets thumbnail image.

File

src/Plugin/MediaEntity/Type/Video.php, line 76

Class

Video
Provides media type plugin for Video.

Namespace

Drupal\media_entity_video\Plugin\MediaEntity\Type

Code

public function getDefaultThumbnail() {
  return $this->config
    ->get('icon_base') . '/video.png';
}