You are here

public function Slick::getSettings in Slick Carousel 8

Returns the array of slick settings.

Return value

array The array of settings.

Overrides SlickInterface::getSettings

File

src/Entity/Slick.php, line 157

Class

Slick
Defines the Slick configuration entity.

Namespace

Drupal\slick\Entity

Code

public function getSettings() {

  // With the Optimized options, all defaults are cleaned out, merge em.
  return isset($this->options['settings']) ? array_merge(self::defaultSettings(), $this->options['settings']) : self::defaultSettings();
}