public function LogoutForm::submitForm in SendinBlue 8.2
Same name and namespace in other branches
- 8 src/Form/LogoutForm.php \Drupal\sendinblue\Form\LogoutForm::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
- src/
Form/ LogoutForm.php, line 52
Class
- LogoutForm
- Class Form Transactionnal emails SMTP.
Namespace
Drupal\sendinblue\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->configFactory
->getEditable(SendinblueManager::CONFIG_SETTINGS)
->delete();
$this->configFactory
->getEditable(SendinblueManager::CONFIG_SETTINGS_SEND_EMAIL)
->delete();
$this->configFactory
->getEditable(SendinblueManager::CONFIG_SETTINGS_REGISTERING_USER)
->delete();
parent::submitForm($form, $form_state);
}