public function SlickBase::getSetting in Slick Carousel 8.2
Same name and namespace in other branches
- 7.3 src/Entity/SlickBase.php \Drupal\slick\Entity\SlickBase::getSetting()
Returns the value of a slick setting.
Parameters
string $setting_name: The setting name.
Return value
mixed The setting value.
Overrides SlickBaseInterface::getSetting
1 call to SlickBase::getSetting()
- Slick::whichLazy in src/
Entity/ Slick.php - Checks which lazyload to use.
File
- src/
Entity/ SlickBase.php, line 88
Class
- SlickBase
- Defines the Slick configuration entity.
Namespace
Drupal\slick\EntityCode
public function getSetting($name) {
return isset($this
->getSettings()[$name]) ? $this
->getSettings()[$name] : NULL;
}