You are here

public function ViewsSlideshowWidgetTypeBase::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 ViewsSlideshowWidgetTypeBase::setConfiguration()
ViewsSlideshowWidgetTypeBase::__construct in src/ViewsSlideshowWidgetTypeBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

src/ViewsSlideshowWidgetTypeBase.php, line 81

Class

ViewsSlideshowWidgetTypeBase
Base class for a Views slideshow widget type.

Namespace

Drupal\views_slideshow

Code

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