You are here

public function ViewsSlideshowWidgetTypeBase::defaultConfiguration in Views Slideshow 8.4

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

3 calls to ViewsSlideshowWidgetTypeBase::defaultConfiguration()
Controls::defaultConfiguration in src/Plugin/ViewsSlideshowWidgetType/Controls.php
Gets default configuration for this plugin.
Pager::defaultConfiguration in src/Plugin/ViewsSlideshowWidgetType/Pager.php
Gets default configuration for this plugin.
ViewsSlideshowWidgetTypeBase::setConfiguration in src/ViewsSlideshowWidgetTypeBase.php
Sets the configuration for this plugin instance.
2 methods override ViewsSlideshowWidgetTypeBase::defaultConfiguration()
Controls::defaultConfiguration in src/Plugin/ViewsSlideshowWidgetType/Controls.php
Gets default configuration for this plugin.
Pager::defaultConfiguration in src/Plugin/ViewsSlideshowWidgetType/Pager.php
Gets default configuration for this plugin.

File

src/ViewsSlideshowWidgetTypeBase.php, line 61

Class

ViewsSlideshowWidgetTypeBase
Base class for a Views slideshow widget type.

Namespace

Drupal\views_slideshow

Code

public function defaultConfiguration() {
  return [
    'enable' => [
      'default' => 0,
    ],
    'weight' => [
      'default' => 1,
    ],
    'hide_on_single_slide' => [
      'default' => 0,
    ],
  ];
}