You are here

public function MediaThumbnailURLFormatter::settingsSummary in Media thumbnail URL formatter 8

Returns a short summary for the current formatter settings.

If an empty result is returned, a UI can still be provided to display a settings form in case the formatter has configurable settings.

Return value

string[] A short summary of the formatter settings.

Overrides MediaThumbnailFormatter::settingsSummary

File

src/Plugin/Field/FieldFormatter/MediaThumbnailURLFormatter.php, line 34

Class

MediaThumbnailURLFormatter
Plugin implementation of the 'media_thumbnail' formatter.

Namespace

Drupal\media_thumbnail_url_formatter\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
  $summary = parent::settingsSummary();
  return [
    $summary[0],
  ];
}