You are here

public static function SliderProFormatter::defaultSettings in Slider Pro 8

Defines the default settings for this plugin.

Return value

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

Overrides ImageFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/SliderProFormatter.php, line 61

Class

SliderProFormatter
Plugin annotation @FieldFormatter( id = "slider_pro", label = @Translation("Slider Pro"), field_types = { "image" } )

Namespace

Drupal\slider_pro\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'optionset' => 'default',
    'image_style' => '',
    'image_style_thumb' => '',
  ] + parent::defaultSettings();
}