Skip to content
Snippets Groups Projects
Commit e960c1b4 authored by l26yan's avatar l26yan
Browse files

ISTWCMS-5368 Add 'Reference author: ' to beginning of title on browsers tab of contributor page

parent 4a948c3b
No related branches found
No related tags found
1 merge request!65ISTWCMS-5368: Add prefixes to bibcite page titles
...@@ -44,6 +44,12 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) { ...@@ -44,6 +44,12 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) {
$variables['#attached']['library'][] = 'uw_fdsu_theme_resp/user.login'; $variables['#attached']['library'][] = 'uw_fdsu_theme_resp/user.login';
break; break;
// The header/page title on contributors listing page browser
// tab shows "Reference author: " in front of the author's name.
case 'entity.bibcite_contributor.canonical':
$variables['head_title']['title'] = t('Reference author:') . ' ' . $variables['head_title']['title'];
break;
} }
} }
......
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