You are here

public function SlickBase::setSettings in Slick Carousel 7.3

Same name and namespace in other branches
  1. 8.2 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 199

Class

SlickBase
Defines the Slick configuration entity.

Namespace

Drupal\slick\Entity

Code

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