You are here

public function SettingBase::getOptions in Express 8

Retrieves the settings options, if set.

Return value

array An array of options.

Overrides SettingInterface::getOptions

File

themes/contrib/bootstrap/src/Plugin/Setting/SettingBase.php, line 135
Contains \Drupal\bootstrap\Plugin\Setting\SettingBase.

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Code

public function getOptions() {
  return isset($this->pluginDefinition['options']) ? (array) $this->pluginDefinition['options'] : [];
}