function ConfigsList::submitForm
Same name in other branches
- 5.x src/Form/ConfigsList.php \Drupal\devel\Form\ConfigsList::submitForm()
Overrides FormInterface::submitForm
File
-
src/
Form/ ConfigsList.php, line 81
Class
- ConfigsList
- Form that displays all the config variables to edit them.
Namespace
Drupal\devel\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$filter = $form_state->getValue('name');
$form_state->setRedirectUrl(Url::FromRoute('devel.configs_list', [
'filter' => Html::escape($filter),
]));
}