You are here

public function Slick::setSettings in Slick Carousel 8

Sets the array of slick settings.

Parameters

array $settings: The new array of settings.

Return value

$this The class instance that this method is called on.

Overrides SlickInterface::setSettings

File

src/Entity/Slick.php, line 165

Class

Slick
Defines the Slick configuration entity.

Namespace

Drupal\slick\Entity

Code

public function setSettings(array $settings = []) {
  $this->options['settings'] = $settings;
  return $this;
}