public function Controls::defaultConfiguration in Views Slideshow 8.4
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ViewsSlideshowWidgetTypeBase::defaultConfiguration
File
- src/
Plugin/ ViewsSlideshowWidgetType/ Controls.php, line 23
Class
- Controls
- Provides a control widget type.
Namespace
Drupal\views_slideshow\Plugin\ViewsSlideshowWidgetTypeCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'type' => [
'default' => 0,
],
];
}