You are here

public function VideoEmbedField::settingsSummary in Magnific Popup 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldFormatter/VideoEmbedField.php \Drupal\magnific_popup\Plugin\Field\FieldFormatter\VideoEmbedField::settingsSummary()

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 FormatterBase::settingsSummary

File

src/Plugin/Field/FieldFormatter/VideoEmbedField.php, line 130

Class

VideoEmbedField
Magnific Popup FieldFormatter for Video Embed Field.

Namespace

Drupal\magnific_popup\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
  $summary[] = $this
    ->t('Thumbnail that opens a popup.');
  return $summary;
}