You are here

public static function FieldCollectionSlideshow::defaultSettings in Field Slideshow 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldFormatter/FieldCollectionSlideshow.php \Drupal\field_slideshow\Plugin\Field\FieldFormatter\FieldCollectionSlideshow::defaultSettings()

File

src/Plugin/Field/FieldFormatter/FieldCollectionSlideshow.php, line 28

Class

FieldCollectionSlideshow
Plugin implementation of the 'slideshow' formatter.

Namespace

Drupal\field_slideshow\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'image_field' => '',
    'image_style' => '',
    'image_link' => '',
    'slideshow_colorbox_image_style' => '',
    'slideshow_colorbox_slideshow' => '',
    'slideshow_colorbox_slideshow_speed' => '4000',
    'slideshow_colorbox_transition' => 'elastic',
    'slideshow_colorbox_speed' => '350',
    'slideshow_caption' => '',
    'slideshow_caption_link' => '',
    'slideshow_fx' => 'fade',
    'slideshow_speed' => '1000',
    'slideshow_timeout' => '4000',
    'slideshow_order' => '',
    'slideshow_controls' => 0,
    'slideshow_controls_pause' => 0,
    'slideshow_controls_position' => 'after',
    'slideshow_pause' => 0,
    'slideshow_start_on_hover' => 0,
    'slideshow_pager' => '',
    'slideshow_pager_position' => 'after',
    'slideshow_pager_image_style' => '',
    'slideshow_field_collection_image' => '',
  ) + parent::defaultSettings();
}