public function WebformResultsExportForm::delete in Webform 8.5
Same name and namespace in other branches
- 6.x src/Form/WebformResultsExportForm.php \Drupal\webform\Form\WebformResultsExportForm::delete()
Webform delete configuration 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.
File
- src/
Form/ WebformResultsExportForm.php, line 144
Class
- WebformResultsExportForm
- Webform for webform results export webform.
Namespace
Drupal\webform\FormCode
public function delete(array &$form, FormStateInterface $form_state) {
$this->submissionExporter
->deleteWebformOptions();
$this
->messenger()
->addStatus($this
->t('The download settings have been reset.'));
}