Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / modules / ajax_test / src / Form / AjaxTestDialogForm.php
index daedcf17069fef52dd72c46bc739366ceeb15cd6..a0b606067248c31202cfa60aceedaeb1e4d94c99 100644 (file)
@@ -31,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'] = [
-      '#type' => 'hidden'
+      '#type' => 'hidden',
     ];
     $form['button1'] = [
       '#type' => 'submit',
@@ -67,7 +67,6 @@ class AjaxTestDialogForm extends FormBase {
     $form_state->setRedirect('ajax_test.dialog_contents');
   }
 
-
   /**
    * AJAX callback handler for AjaxTestDialogForm.
    */
@@ -82,7 +81,6 @@ class AjaxTestDialogForm extends FormBase {
     return $this->dialog(FALSE);
   }
 
-
   /**
    * Util to render dialog in ajax callback.
    *