You are here

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

File

src/ViewsSlideshowTypeBase.php, line 56

Class

ViewsSlideshowTypeBase
Provides basic functionality for Views slideshow types.

Namespace

Drupal\views_slideshow

Code

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