You are here

public function PathFilterForm::resetForm in Drupal 8

Same name and namespace in other branches
  1. 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\Form

Code

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