From f913fc46a7de035010ec2915c96d798b06cdb02f Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Mon, 3 Oct 2022 17:15:38 +0100
Subject: [PATCH] Issue #3307972 by AlirezaK, rik.scholten: ModulesListForm.php
 assigns string value to ['attributes']['class']

---
 core/modules/system/src/Form/ModulesListForm.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/system/src/Form/ModulesListForm.php b/core/modules/system/src/Form/ModulesListForm.php
index d0ec6f5b036f..8df4971db032 100644
--- a/core/modules/system/src/Form/ModulesListForm.php
+++ b/core/modules/system/src/Form/ModulesListForm.php
@@ -263,7 +263,7 @@ protected function buildRow(array $modules, Extension $module, $distribution) {
           Url::fromUri($module->info[ExtensionLifecycle::LIFECYCLE_LINK_IDENTIFIER], [
             'attributes' =>
               [
-                'class' => 'module-link--non-stable',
+                'class' => ['module-link--non-stable'],
                 'aria-label' => $this->t('View information on the @lifecycle status of the module @module', [
                   '@lifecycle' => ucfirst($lifecycle),
                   '@module' => $module->info['name'],
-- 
GitLab