public function ConfigsList::submitForm in Devel 8.3
Same name and namespace in other branches
- 8 src/Form/ConfigsList.php \Drupal\devel\Form\ConfigsList::submitForm()
- 8.2 src/Form/ConfigsList.php \Drupal\devel\Form\ConfigsList::submitForm()
- 4.x src/Form/ConfigsList.php \Drupal\devel\Form\ConfigsList::submitForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
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),
]));
}