You are here

public function jCarouselFieldFormatter::settingsSummary in jQuery carousel 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 FormatterBase::settingsSummary

File

src/Plugin/Field/FieldFormatter/jCarouselFieldFormatter.php, line 148

Class

jCarouselFieldFormatter
Plugin annotation @FieldFormatter( id = "jquery_carousel_images", label = @Translation("jQuery Carousel"), field_types = { "image" } )

Namespace

Drupal\jquery_carousel\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
  $summary = [];
  $summary[] = t('Displays multivalued image field content in form of a carousel.');
  return $summary;
}