function PathFilterForm::resetForm

Same name in other branches
  1. 8.9.x core/modules/path/src/Form/PathFilterForm.php \Drupal\path\Form\PathFilterForm::resetForm()
  2. 10 core/modules/path/src/Form/PathFilterForm.php \Drupal\path\Form\PathFilterForm::resetForm()
  3. 11.x 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\Form

Code

public function resetForm(array &$form, FormStateInterface $form_state) {
    $form_state->setRedirect('entity.path_alias.collection');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.