public function Audio::getDefaultThumbnail in Media entity audio 8
Gets the default thumbnail image.
Return value
string Uri of the default thumbnail image.
Overrides MediaTypeBase::getDefaultThumbnail
1 call to Audio::getDefaultThumbnail()
- Audio::thumbnail in src/
Plugin/ MediaEntity/ Type/ Audio.php - Gets thumbnail image.
File
- src/
Plugin/ MediaEntity/ Type/ Audio.php, line 62
Class
- Audio
- Provides media type plugin for Audio.
Namespace
Drupal\media_entity_audio\Plugin\MediaEntity\TypeCode
public function getDefaultThumbnail() {
return $this->config
->get('icon_base') . '/image.png';
}