Skip to content
Snippets Groups Projects
Commit cd576a32 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4083: ensure that not overriding classes, but only adding when putting...

ISTWCMS-4083: ensure that not overriding classes, but only adding when putting in layout builder stuff to identify blocks
parent f86ec4ef
No related branches found
No related tags found
No related merge requests found
...@@ -244,7 +244,7 @@ function uw_fdsu_theme_resp_preprocess_block(&$variables) { ...@@ -244,7 +244,7 @@ function uw_fdsu_theme_resp_preprocess_block(&$variables) {
// set the class to be used to display the admin label. // set the class to be used to display the admin label.
if (!in_array($admin_label, $admin_labels_to_exclude)) { if (!in_array($admin_label, $admin_labels_to_exclude)) {
$variables['admin_label'] = $admin_label; $variables['admin_label'] = $admin_label;
$variables['attributes']['class'] = 'in-layout-builder'; $variables['attributes']['class'][] = 'in-layout-builder';
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment