You are here

public function Pinterest::getDefaultThumbnail in Media entity Pinterest 8

Gets the default thumbnail image.

Return value

string Uri of the default thumbnail image.

Overrides MediaTypeBase::getDefaultThumbnail

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

File

src/Plugin/MediaEntity/Type/Pinterest.php, line 214

Class

Pinterest
Provides media type plugin for Pinterest.

Namespace

Drupal\media_entity_pinterest\Plugin\MediaEntity\Type

Code

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