public function ConfigurationForm::submitForm in Thunder 8.4
Same name in this branch
- 8.4 modules/thunder_media/src/Form/ConfigurationForm.php \Drupal\thunder_media\Form\ConfigurationForm::submitForm()
- 8.4 modules/thunder_article/src/Form/ConfigurationForm.php \Drupal\thunder_article\Form\ConfigurationForm::submitForm()
Same name and namespace in other branches
- 8.2 modules/thunder_article/src/Form/ConfigurationForm.php \Drupal\thunder_article\Form\ConfigurationForm::submitForm()
- 8.3 modules/thunder_article/src/Form/ConfigurationForm.php \Drupal\thunder_article\Form\ConfigurationForm::submitForm()
- 6.0.x modules/thunder_article/src/Form/ConfigurationForm.php \Drupal\thunder_article\Form\ConfigurationForm::submitForm()
- 6.1.x modules/thunder_article/src/Form/ConfigurationForm.php \Drupal\thunder_article\Form\ConfigurationForm::submitForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides ConfigFormBase::submitForm
File
- modules/
thunder_article/ src/ Form/ ConfigurationForm.php, line 48
Class
- ConfigurationForm
- Class ConfigurationForm.
Namespace
Drupal\thunder_article\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
$this
->config('thunder_article.settings')
->set('move_scheduler_local_task', $form_state
->getValue('move_scheduler_local_task'))
->save();
}