public function AjaxTestDialogForm::nonModal in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php \Drupal\ajax_test\Form\AjaxTestDialogForm::nonModal()
- 9 core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php \Drupal\ajax_test\Form\AjaxTestDialogForm::nonModal()
AJAX callback handler for AjaxTestDialogForm.
File
- core/
modules/ system/ tests/ modules/ ajax_test/ src/ Form/ AjaxTestDialogForm.php, line 74
Class
- AjaxTestDialogForm
- Dummy form for testing DialogRenderer with _form routes.
Namespace
Drupal\ajax_test\FormCode
public function nonModal(&$form, FormStateInterface $form_state) {
return $this
->dialog(FALSE);
}