You are here

public function ImageFormatter::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 ImageFormatter::settingsSummary

File

src/Plugin/Field/FieldFormatter/ImageFormatter.php, line 49

Class

ImageFormatter
Plugin implementation of the 'image with hover effect' formatter.

Namespace

Drupal\image_hover_effects\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
  return array_merge(parent::settingsSummary(), $this
    ->buildSettingsSummary());
}