You are here

public function JCarouselPager::defaultConfiguration in Views Slideshow JCarousel 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ViewsSlideshowWidgetBase::defaultConfiguration

File

src/Plugin/ViewsSlideshowWidget/JCarouselPager.php, line 24

Class

JCarouselPager
Provides a pager using fields.

Namespace

Drupal\views_slideshow_jcarousel\Plugin\ViewsSlideshowWidget

Code

public function defaultConfiguration() {
  return [
    'views_slideshow_jcarousel_pager_fields' => [
      'default' => [],
    ],
    'views_slideshow_jcarousel_pager_move_on_change' => [
      'default' => 0,
    ],
    'views_slideshow_jcarousel_pager_update_on_prev_next' => [
      'default' => 0,
    ],
    'views_slideshow_jcarousel_pager_skin' => [
      'default' => 'tango',
    ],
    'views_slideshow_jcarousel_pager_orientation' => [
      'default' => FALSE,
    ],
    'views_slideshow_jcarousel_pager_scroll' => [
      'default' => 3,
    ],
    'views_slideshow_jcarousel_pager_visible' => [
      'default' => 3,
    ],
    'views_slideshow_jcarousel_pager_wrap' => [
      'default' => NULL,
    ],
    'views_slideshow_jcarousel_pager_animation' => [
      'default' => 'fast',
    ],
  ];
}