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 5f11b6b71a2c2226deec446e5577562f908eb189..a0b606067248c31202cfa60aceedaeb1e4d94c99 100644 (file)
@@ -11,6 +11,8 @@ use Drupal\Core\Form\FormStateInterface;
 
 /**
  * Dummy form for testing DialogRenderer with _form routes.
+ *
+ * @internal
  */
 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'] = [
-      '#type' => 'hidden'
+      '#type' => 'hidden',
     ];
     $form['button1'] = [
       '#type' => 'submit',
@@ -65,7 +67,6 @@ class AjaxTestDialogForm extends FormBase {
     $form_state->setRedirect('ajax_test.dialog_contents');
   }
 
-
   /**
    * AJAX callback handler for AjaxTestDialogForm.
    */
@@ -80,7 +81,6 @@ class AjaxTestDialogForm extends FormBase {
     return $this->dialog(FALSE);
   }
 
-
   /**
    * Util to render dialog in ajax callback.
    *