public function LiveCSSAdmin::submitForm in Live CSS 8
Same name and namespace in other branches
- 8.2 lib/Drupal/live_css/Form/LiveCSSAdmin.php \Drupal\live_css\Form\LiveCSSAdmin::submitForm()
File
- lib/
Drupal/ live_css/ Form/ LiveCSSAdmin.php, line 107
Class
Namespace
Drupal\live_css\FormCode
public function submitForm(array &$form, array &$form_state) {
$this->config
->set('live_css_less', $form_state['values']['live_css_less']);
$this->config
->set('live_css_flush', $form_state['values']['live_css_flush']);
$this->config
->set('live_css_hideadmin', $form_state['values']['live_css_hideadmin']);
$this->config
->set('live_css_hidemodules', $form_state['values']['live_css_hidemodules']);
$this->config
->set('live_css_storage', $form_state['values']['live_css_storage']);
$this->config
->set('live_css_theme', $form_state['values']['live_css_theme']);
$this->config
->set('live_css_fontsize', $form_state['values']['live_css_fontsize']);
$this->config
->set('live_css_softtabs', $form_state['values']['live_css_softtabs']);
$this->config
->set('live_css_tabsize', $form_state['values']['live_css_tabsize']);
$this->config
->save();
drupal_set_message(t('The Live CSS settings below have been applied.'));
}