public function ResponsiveImageFormatter::settingsSummary in Image Hover Effects 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 ResponsiveImageFormatter::settingsSummary
File
- src/
Plugin/ Field/ FieldFormatter/ ResponsiveImageFormatter.php, line 49
Class
- ResponsiveImageFormatter
- Plugin for responsive image formatter.
Namespace
Drupal\image_hover_effects\Plugin\Field\FieldFormatterCode
public function settingsSummary() {
return array_merge(parent::settingsSummary(), $this
->buildSettingsSummary());
}