You are here

public function Slideshow::getDefaultThumbnail in Media entity slideshow 8

Gets the default thumbnail image.

Return value

string Uri of the default thumbnail image.

Overrides MediaTypeBase::getDefaultThumbnail

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

File

src/Plugin/MediaEntity/Type/Slideshow.php, line 88

Class

Slideshow
Provides media type plugin for Slideshows.

Namespace

Drupal\media_entity_slideshow\Plugin\MediaEntity\Type

Code

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