From cd576a32878efe410bf980793f0bd442fc39b29d Mon Sep 17 00:00:00 2001
From: ebremner <ebremner@uwaterloo.ca>
Date: Fri, 2 Oct 2020 11:33:46 -0400
Subject: [PATCH] ISTWCMS-4083: ensure that not overriding classes, but only
 adding when putting in layout builder stuff to identify blocks

---
 uw_fdsu_theme_resp.theme | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uw_fdsu_theme_resp.theme b/uw_fdsu_theme_resp.theme
index d9361ce4..b1f9941f 100644
--- a/uw_fdsu_theme_resp.theme
+++ b/uw_fdsu_theme_resp.theme
@@ -244,7 +244,7 @@ function uw_fdsu_theme_resp_preprocess_block(&$variables) {
     // set the class to be used to display the admin label.
     if (!in_array($admin_label, $admin_labels_to_exclude)) {
       $variables['admin_label'] = $admin_label;
-      $variables['attributes']['class'] = 'in-layout-builder';
+      $variables['attributes']['class'][] = 'in-layout-builder';
     }
   }
 }
-- 
GitLab