public function ActivitySendSettingsForm::submitForm in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 8.2 modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 8.3 modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 8.4 modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 8.5 modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 8.6 modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 8.7 modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 8.8 modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 10.3.x modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 10.0.x modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 10.1.x modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::submitForm()
- 10.2.x modules/custom/activity_send/src/Form/ActivitySendSettingsForm.php \Drupal\activity_send\Form\ActivitySendSettingsForm::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/
custom/ activity_send/ src/ Form/ ActivitySendSettingsForm.php, line 53
Class
- ActivitySendSettingsForm
- Configure activity send settings.
Namespace
Drupal\activity_send\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$config = $this
->config('activity_send.settings');
$config
->set('activity_send_offline_window', $form_state
->getValue('activity_send_offline_window'))
->save();
parent::submitForm($form, $form_state);
}