You are here

public static function GalleryFormatterFormatter::defaultSettings in Gallery formatter 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides ResponsiveImageFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/GalleryFormatterFormatter.php, line 26

Class

GalleryFormatterFormatter
Plugin for galleryformatter.

Namespace

Drupal\galleryformatter\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'slide_style' => 'wide',
    'thumb_style' => 'narrow',
    'style' => 'galleryformatter',
    'modal' => '',
  ] + parent::defaultSettings();
}