function protected function SettingBase::getSettingValue

8.x-3.x SettingBase.php protected SettingBase::getSettingValue(FormStateInterface $form_state)

Retrieves the setting value used to populate the form.

Parameters

\Drupal\Core\Form\FormStateInterface $form_state: The current form state.

Return value

mixed The setting value.

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Source src/Plugin/Setting/SettingBase.php (line 235)

protected function getSettingValue(FormStateInterface $form_state) {
  $plugin_id = $this->getPluginId();
  return $form_state->getValue($plugin_id, $this->theme->getSetting($plugin_id));
}