You are here

public function ViewsSlideshowWidgetBase::setConfiguration in Views Slideshow 8.4

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides ConfigurableInterface::setConfiguration

1 call to ViewsSlideshowWidgetBase::setConfiguration()
ViewsSlideshowWidgetBase::__construct in src/ViewsSlideshowWidgetBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

src/ViewsSlideshowWidgetBase.php, line 63

Class

ViewsSlideshowWidgetBase
Provides basic functionality for Views slideshow widgets.

Namespace

Drupal\views_slideshow

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration + $this
    ->defaultConfiguration();
  return $this;
}