X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fform_test%2Fsrc%2FForm%2FFormTestButtonClassForm.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fform_test%2Fsrc%2FForm%2FFormTestButtonClassForm.php;h=4e3de3bb4768cee8393df9c5be8b65c89f31066d;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php b/web/core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php new file mode 100644 index 000000000..4e3de3bb4 --- /dev/null +++ b/web/core/modules/system/tests/modules/form_test/src/Form/FormTestButtonClassForm.php @@ -0,0 +1,43 @@ + 'button', + '#value' => 'test', + '#button_type' => 'foo', + ]; + $form['delete'] = [ + '#type' => 'button', + '#value' => 'Delete', + '#button_type' => 'danger', + ]; + return $form; + } + + /** + * {@inheritdoc} + */ + public function submitForm(array &$form, FormStateInterface $form_state) { + } + +}