You are here

public function Slick::setResponsiveSettings in Slick Carousel 8.2

Same name and namespace in other branches
  1. 8 src/Entity/Slick.php \Drupal\slick\Entity\Slick::setResponsiveSettings()
  2. 7.3 src/Entity/Slick.php \Drupal\slick\Entity\Slick::setResponsiveSettings()

Sets the Slick responsive settings.

Return value

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

File

src/Entity/Slick.php, line 126

Class

Slick
Defines the Slick configuration entity.

Namespace

Drupal\slick\Entity

Code

public function setResponsiveSettings($values, $delta = 0, $key = 'settings') {
  $this->options['responsives']['responsive'][$delta][$key] = $values;
  return $this;
}