You are here

public function Flexslider::getOption in Flex Slider 8.2

Returns the value of a flexslider library option.

Parameters

string $name: The option name.

Return value

mixed The option value.

Overrides FlexsliderInterface::getOption

File

src/Entity/Flexslider.php, line 93

Class

Flexslider
Defines the Flexslider entity.

Namespace

Drupal\flexslider\Entity

Code

public function getOption($name) {
  return isset($this->options[$name]) ? $this->options[$name] : NULL;
}