You are here

public function ImageZoomOptions::getOption in Image Zoom 8.3

Returns the value of an option.

Parameters

string $name: The option name.

Return value

mixed The option value.

Overrides ImageZoomOptionsInterface::getOption

File

src/Entity/ImageZoomOptions.php, line 92

Class

ImageZoomOptions
Defines the Image Zoom options profile entity type.

Namespace

Drupal\imagezoom\Entity

Code

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