Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / views_ui / src / Form / Ajax / Rearrange.php
index 2a46120c603a241f83dc346148e7cf62ed79979d..1ffb710ca1dcafe2b1ab6515f52aedcb13f50960 100644 (file)
@@ -125,11 +125,13 @@ class Rearrange extends ViewsFormBase {
         '#attributes' => ['class' => ['views-remove-checkbox']],
         '#default_value' => 0,
         '#suffix' => \Drupal::l(SafeMarkup::format('<span>@text</span>', ['@text' => $this->t('Remove')]),
-          Url::fromRoute('<none>', [], ['attributes' => [
-            'id' => 'views-remove-link-' . $id,
-            'class' => ['views-hidden', 'views-button-remove', 'views-remove-link'],
-            'alt' => $this->t('Remove this item'),
-            'title' => $this->t('Remove this item')],
+          Url::fromRoute('<none>', [], [
+            'attributes' => [
+              'id' => 'views-remove-link-' . $id,
+              'class' => ['views-hidden', 'views-button-remove', 'views-remove-link'],
+              'alt' => $this->t('Remove this item'),
+              'title' => $this->t('Remove this item'),
+            ],
           ])
         ),
       ];