public function PathFilterForm::resetForm in Drupal 10
Same name and namespace in other branches
- 8 core/modules/path/src/Form/PathFilterForm.php \Drupal\path\Form\PathFilterForm::resetForm()
- 9 core/modules/path/src/Form/PathFilterForm.php \Drupal\path\Form\PathFilterForm::resetForm()
Resets the filter selections.
File
- core/
modules/ path/ src/ Form/ PathFilterForm.php, line 67
Class
- PathFilterForm
- Provides the path admin overview filter form.
Namespace
Drupal\path\FormCode
public function resetForm(array &$form, FormStateInterface $form_state) {
$form_state
->setRedirect('entity.path_alias.collection');
}