public function WebformAdminConfigBaseForm::submitForm in Webform 8.5
Same name and namespace in other branches
- 6.x src/Form/AdminConfig/WebformAdminConfigBaseForm.php \Drupal\webform\Form\AdminConfig\WebformAdminConfigBaseForm::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
8 calls to WebformAdminConfigBaseForm::submitForm()
- WebformAdminConfigAdvancedForm::submitForm in src/
Form/ AdminConfig/ WebformAdminConfigAdvancedForm.php - Form submission handler.
- WebformAdminConfigElementsForm::submitForm in src/
Form/ AdminConfig/ WebformAdminConfigElementsForm.php - Form submission handler.
- WebformAdminConfigExportersForm::submitForm in src/
Form/ AdminConfig/ WebformAdminConfigExportersForm.php - Form submission handler.
- WebformAdminConfigFormsForm::submitForm in src/
Form/ AdminConfig/ WebformAdminConfigFormsForm.php - Form submission handler.
- WebformAdminConfigHandlersForm::submitForm in src/
Form/ AdminConfig/ WebformAdminConfigHandlersForm.php - Form submission handler.
8 methods override WebformAdminConfigBaseForm::submitForm()
- WebformAdminConfigAdvancedForm::submitForm in src/
Form/ AdminConfig/ WebformAdminConfigAdvancedForm.php - Form submission handler.
- WebformAdminConfigElementsForm::submitForm in src/
Form/ AdminConfig/ WebformAdminConfigElementsForm.php - Form submission handler.
- WebformAdminConfigExportersForm::submitForm in src/
Form/ AdminConfig/ WebformAdminConfigExportersForm.php - Form submission handler.
- WebformAdminConfigFormsForm::submitForm in src/
Form/ AdminConfig/ WebformAdminConfigFormsForm.php - Form submission handler.
- WebformAdminConfigHandlersForm::submitForm in src/
Form/ AdminConfig/ WebformAdminConfigHandlersForm.php - Form submission handler.
File
- src/
Form/ AdminConfig/ WebformAdminConfigBaseForm.php, line 29
Class
- WebformAdminConfigBaseForm
- Base webform admin settings form.
Namespace
Drupal\webform\Form\AdminConfigCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$config = $this
->config('webform.settings');
_webform_config_update($config);
$config
->save();
parent::submitForm($form, $form_state);
}