diff --git a/uw_fdsu_theme_resp.theme b/uw_fdsu_theme_resp.theme index 6d5f425a3b6cf59d910e4b0e266300be6916a3f3..659bf07e47e861c2719226c90db8e752faff9399 100644 --- a/uw_fdsu_theme_resp.theme +++ b/uw_fdsu_theme_resp.theme @@ -575,6 +575,17 @@ function uw_fdsu_theme_resp_preprocess_block(&$variables) { // to the template variables and set the class to be used // to display the admin label. if (!in_array($admin_label, $admin_labels_to_exclude)) { + + // ISTWCMS-6062, add publication to reference block admin + // labels when in layout builder. + if ($admin_label == 'Reference search') { + $admin_label = 'Publication reference search'; + } + + if ($admin_label == 'Reference teaser') { + $admin_label = 'Publication reference teaser'; + } + $variables['admin_label'] = $admin_label; $variables['attributes']['class'][] = 'in-layout-builder'; }