diff --git a/core/modules/views_ui/src/Form/Ajax/Rearrange.php b/core/modules/views_ui/src/Form/Ajax/Rearrange.php index 6d221c6640c..75d96b997cc 100644 --- a/core/modules/views_ui/src/Form/Ajax/Rearrange.php +++ b/core/modules/views_ui/src/Form/Ajax/Rearrange.php @@ -5,6 +5,7 @@ namespace Drupal\views_ui\Form\Ajax; use Drupal\Component\Render\FormattableMarkup; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Link; +use Drupal\Core\Render\Markup; use Drupal\Core\Url; use Drupal\views\ViewEntityInterface; use Drupal\views\ViewExecutable; @@ -125,9 +126,10 @@ class Rearrange extends ViewsFormBase { '#title' => $this->t('Remove @title', ['@title' => $name]), '#title_display' => 'invisible', '#id' => 'views-removed-' . $id, - '#attributes' => ['class' => ['views-remove-checkbox', 'js-hide']], + '#attributes' => ['class' => ['views-remove-checkbox']], '#default_value' => 0, - '#suffix' => Link::fromTextAndUrl(new FormattableMarkup('@text', ['@text' => $this->t('Remove')]), + '#prefix' => '