public function Slick::getSetting in Slick Carousel 8
Returns the value of a slick setting.
Parameters
string $setting_name: The setting name.
Return value
mixed The setting value.
Overrides SlickInterface::getSetting
File
- src/
Entity/ Slick.php, line 173
Class
- Slick
- Defines the Slick configuration entity.
Namespace
Drupal\slick\EntityCode
public function getSetting($name) {
return isset($this
->getSettings()[$name]) ? $this
->getSettings()[$name] : NULL;
}