projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website]
/
web
/
core
/
modules
/
system
/
tests
/
modules
/
ajax_test
/
src
/
Form
/
AjaxTestDialogForm.php
diff --git
a/web/core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php
b/web/core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php
index 5f11b6b71a2c2226deec446e5577562f908eb189..a0b606067248c31202cfa60aceedaeb1e4d94c99 100644
(file)
--- a/
web/core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php
+++ b/
web/core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php
@@
-11,6
+11,8
@@
use Drupal\Core\Form\FormStateInterface;
/**
* Dummy form for testing DialogRenderer with _form routes.
/**
* Dummy form for testing DialogRenderer with _form routes.
+ *
+ * @internal
*/
class AjaxTestDialogForm extends FormBase {
*/
class AjaxTestDialogForm extends FormBase {
@@
-29,7
+31,7
@@
class AjaxTestDialogForm extends FormBase {
// to have a dummy field we can set in WebTestBase::drupalPostForm() else it won't
// submit anything.
$form['textfield'] = [
// to have a dummy field we can set in WebTestBase::drupalPostForm() else it won't
// submit anything.
$form['textfield'] = [
- '#type' => 'hidden'
+ '#type' => 'hidden'
,
];
$form['button1'] = [
'#type' => 'submit',
];
$form['button1'] = [
'#type' => 'submit',
@@
-65,7
+67,6
@@
class AjaxTestDialogForm extends FormBase {
$form_state->setRedirect('ajax_test.dialog_contents');
}
$form_state->setRedirect('ajax_test.dialog_contents');
}
-
/**
* AJAX callback handler for AjaxTestDialogForm.
*/
/**
* AJAX callback handler for AjaxTestDialogForm.
*/
@@
-80,7
+81,6
@@
class AjaxTestDialogForm extends FormBase {
return $this->dialog(FALSE);
}
return $this->dialog(FALSE);
}
-
/**
* Util to render dialog in ajax callback.
*
/**
* Util to render dialog in ajax callback.
*