You are here

public function Skin::setOption in Skinr 8.2

Sets a skin option value.

Parameters

string $option: Option to set.

mixed $value: Value to set the option to.

Overrides SkinInterface::setOption

File

src/Entity/Skin.php, line 172
Contains \Drupal\skinr\Entity\Skin.

Class

Skin
Defines the Skin entity.

Namespace

Drupal\skinr\Entity

Code

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