You are here

public function Skin::getOption in Skinr 8.2

Returns a skin option value.

Parameters

string $option: Option to retrieve.

Return value

mixed The option value.

Overrides SkinInterface::getOption

File

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

Class

Skin
Defines the Skin entity.

Namespace

Drupal\skinr\Entity

Code

public function getOption($option) {
  if (!isset($this->options[$option])) {
    return NULL;
  }
  return $this->options[$option];
}