function PathFilterForm::submitForm
Same name in other branches
- 9 core/modules/path/src/Form/PathFilterForm.php \Drupal\path\Form\PathFilterForm::submitForm()
- 8.9.x core/modules/path/src/Form/PathFilterForm.php \Drupal\path\Form\PathFilterForm::submitForm()
- 10 core/modules/path/src/Form/PathFilterForm.php \Drupal\path\Form\PathFilterForm::submitForm()
Overrides FormInterface::submitForm
File
-
core/
modules/ path/ src/ Form/ PathFilterForm.php, line 58
Class
- PathFilterForm
- Provides the path admin overview filter form.
Namespace
Drupal\path\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$form_state->setRedirect('entity.path_alias.collection', [], [
'query' => [
'search' => trim($form_state->getValue('filter')),
],
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.