You are here

public static function JssorFieldFormatter::defaultSettings in Jssor Slider 8

Defines the default settings for this plugin.

Return value

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

Overrides PluginSettingsBase::defaultSettings

File

src/Plugin/Field/FieldFormatter/JssorFieldFormatter.php, line 119
Contains \Drupal\jssor\Plugin\Field\FieldFormatter\JssorFieldFormatter.

Class

JssorFieldFormatter
Plugin for responsive image formatter.

Namespace

Drupal\jssor\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'image_style' => '',
    'autoplay' => TRUE,
    'autoplayinterval' => 3000,
    'arrownavigator' => TRUE,
    'bulletnavigator' => TRUE,
    'caption' => FALSE,
  ) + parent::defaultSettings();
}