public function Colorbox::settingsSummary in Video Embed Field 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/Colorbox.php \Drupal\video_embed_field\Plugin\Field\FieldFormatter\Colorbox::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/ Colorbox.php, line 178
Class
- Colorbox
- Plugin implementation of the thumbnail field formatter.
Namespace
Drupal\video_embed_field\Plugin\Field\FieldFormatterCode
public function settingsSummary() {
$summary[] = $this
->t('Thumbnail that launches a modal window.');
$summary[] = implode(',', $this->videoFormatter
->settingsSummary());
$summary[] = implode(',', $this->thumbnailFormatter
->settingsSummary());
return $summary;
}