Same name and namespace in other branches
  1. 5.0.x src/Plugin/ViewsSlideshowWidgetType/Controls.php \Drupal\views_slideshow\Plugin\ViewsSlideshowWidgetType\Controls::defaultConfiguration()

Overrides ViewsSlideshowWidgetTypeBase::defaultConfiguration

File

src/Plugin/ViewsSlideshowWidgetType/Controls.php, line 23

Class

Controls
Provides a control widget type.

Namespace

Drupal\views_slideshow\Plugin\ViewsSlideshowWidgetType

Code

public function defaultConfiguration() {
    return parent::defaultConfiguration() + [
        'type' => [
            'default' => 0,
        ],
    ];
}