You are here

public function Soundcloud::getDefaultThumbnail in Media entity Soundcloud 8

Gets the default thumbnail image.

Return value

string Uri of the default thumbnail image.

Overrides MediaTypeBase::getDefaultThumbnail

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

File

src/Plugin/MediaEntity/Type/Soundcloud.php, line 174

Class

Soundcloud
Provides media type plugin for Soundcloud.

Namespace

Drupal\media_entity_soundcloud\Plugin\MediaEntity\Type

Code

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