public function GdprFieldFilterForm::resetForm in General Data Protection Regulation 8.2
Same name and namespace in other branches
- 8 modules/gdpr_fields/src/Form/GdprFieldFilterForm.php \Drupal\gdpr_fields\Form\GdprFieldFilterForm::resetForm()
- 3.0.x modules/gdpr_fields/src/Form/GdprFieldFilterForm.php \Drupal\gdpr_fields\Form\GdprFieldFilterForm::resetForm()
Form submission handler to reset filters.
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
- modules/
gdpr_fields/ src/ Form/ GdprFieldFilterForm.php, line 143
Class
- GdprFieldFilterForm
- Filter form for GDPR field list page.
Namespace
Drupal\gdpr_fields\FormCode
public function resetForm(array &$form, FormStateInterface $form_state) {
$form_state
->setRedirect('gdpr_fields.fields_list');
}