summaryrefslogtreecommitdiffstats
path: root/core/modules/views_ui
diff options
context:
space:
mode:
authorxjm2017-09-15 21:52:14 (GMT)
committerxjm2017-09-15 21:52:14 (GMT)
commit44a5c4cbe08a0e80209dc6c5ac688a247e36ca11 (patch)
tree26106647bb5dac7f2d89186353d4b4086c9e6823 /core/modules/views_ui
parentcc34cb8055821db244e9a916e7f31cca7ead115f (diff)
Issue #2901739 by andriyun, Jo Fitzgerald, mfernea, xjm: Fix 'Squiz.Arrays.ArrayDeclaration' coding standard
Diffstat (limited to 'core/modules/views_ui')
-rw-r--r--core/modules/views_ui/src/Form/Ajax/Rearrange.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/core/modules/views_ui/src/Form/Ajax/Rearrange.php b/core/modules/views_ui/src/Form/Ajax/Rearrange.php
index 2a46120..1ffb710 100644
--- a/core/modules/views_ui/src/Form/Ajax/Rearrange.php
+++ b/core/modules/views_ui/src/Form/Ajax/Rearrange.php
@@ -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'),
+ ],
])
),
];