You are here

public function SlickBase::setSettings in Slick Carousel 8.2

Same name and namespace in other branches
  1. 7.3 src/Entity/SlickBase.php \Drupal\slick\Entity\SlickBase::setSettings()

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 SlickBaseInterface::setSettings

File

src/Entity/SlickBase.php, line 80

Class

SlickBase
Defines the Slick configuration entity.

Namespace

Drupal\slick\Entity

Code

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