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;h=3cb8105315e157170666c156d40a2e291f55a88b;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=f69a1232319cd9363e0f334666e108522aa09ab0;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;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..3cb810531 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 @@ -8,6 +8,8 @@ use Drupal\Core\Form\FormStateInterface; /** * Form builder: Builds a form that triggers a simple AJAX callback. + * + * @internal */ class AjaxFormsTestSimpleForm extends FormBase { @@ -31,7 +33,8 @@ class AjaxFormsTestSimpleForm extends FormBase { '#options' => [ 'red' => 'red', 'green' => 'green', - 'blue' => 'blue'], + 'blue' => 'blue', + ], '#ajax' => [ 'callback' => [$object, 'selectCallback'], ], @@ -108,7 +111,6 @@ class AjaxFormsTestSimpleForm extends FormBase { '#title' => $this->t('Another AJAX checkbox in a nested group'), ]; - return $form; }