public function Slick::setResponsiveSettings in Slick Carousel 8
Same name and namespace in other branches
- 8.2 src/Entity/Slick.php \Drupal\slick\Entity\Slick::setResponsiveSettings()
- 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 225
Class
- Slick
- Defines the Slick configuration entity.
Namespace
Drupal\slick\EntityCode
public function setResponsiveSettings($values, $delta = 0, $key = 'settings') {
$this->options['responsives']['responsive'][$delta][$key] = $values;
return $this;
}