You are here

public function ImageZoomOptions::setOption in Image Zoom 8.3

Sets the value of an option.

Parameters

string $name: The option name.

mixed $value: The option value.

Overrides ImageZoomOptionsInterface::setOption

File

src/Entity/ImageZoomOptions.php, line 99

Class

ImageZoomOptions
Defines the Image Zoom options profile entity type.

Namespace

Drupal\imagezoom\Entity

Code

public function setOption($name, $value) {
  $this->options[$name] = $value;
}