Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / modules / form_test / src / Form / FormTestMachineNameForm.php
index ee287f4ced36c51c0494f16d95dc341027a1fef7..121cd31aea3330acdd8f80a59a62a6ff7f24c006 100644 (file)
@@ -33,7 +33,7 @@ class FormTestMachineNameForm extends FormBase {
       '#title' => 'Machine name 1',
       '#description' => 'A machine name.',
       '#machine_name' => [
-        'source' => ['machine_name_1_label']
+        'source' => ['machine_name_1_label'],
       ],
     ];
     $form['machine_name_2_label'] = [
@@ -45,7 +45,7 @@ class FormTestMachineNameForm extends FormBase {
       '#title' => 'Machine name 2',
       '#description' => 'Another machine name.',
       '#machine_name' => [
-        'source' => ['machine_name_2_label']
+        'source' => ['machine_name_2_label'],
       ],
     ];
     $form['submit'] = [