X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fajax_forms_test%2Fsrc%2FForm%2FAjaxFormsTestSimpleForm.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fajax_forms_test%2Fsrc%2FForm%2FAjaxFormsTestSimpleForm.php;h=19a4c453ee8529c7d09c7313f7099a7dd217c53c;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=f69a1232319cd9363e0f334666e108522aa09ab0;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestSimpleForm.php b/web/core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestSimpleForm.php index f69a12323..19a4c453e 100644 --- a/web/core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestSimpleForm.php +++ b/web/core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestSimpleForm.php @@ -31,7 +31,8 @@ class AjaxFormsTestSimpleForm extends FormBase { '#options' => [ 'red' => 'red', 'green' => 'green', - 'blue' => 'blue'], + 'blue' => 'blue', + ], '#ajax' => [ 'callback' => [$object, 'selectCallback'], ], @@ -108,7 +109,6 @@ class AjaxFormsTestSimpleForm extends FormBase { '#title' => $this->t('Another AJAX checkbox in a nested group'), ]; - return $form; }