You are here

public function Facebook::getDefaultThumbnail in Media entity facebook 8

Gets the default thumbnail image.

Return value

string Uri of the default thumbnail image.

Overrides MediaTypeBase::getDefaultThumbnail

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

File

src/Plugin/MediaEntity/Type/Facebook.php, line 237

Class

Facebook
Provides media type plugin for Facebook.

Namespace

Drupal\media_entity_facebook\Plugin\MediaEntity\Type

Code

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