You are here

public function Image::getDefaultThumbnail in Media entity image 8

Gets the default thumbnail image.

Return value

string Uri of the default thumbnail image.

Overrides MediaTypeBase::getDefaultThumbnail

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

File

src/Plugin/MediaEntity/Type/Image.php, line 200

Class

Image
Provides media type plugin for Image.

Namespace

Drupal\media_entity_image\Plugin\MediaEntity\Type

Code

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