Skip to content
Snippets Groups Projects
Commit ffc032fe authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-5880: adding profile to media above

parent ea92fd81
No related branches found
No related tags found
3 merge requests!284Feature/istwcms 5880 ebremner banners above,!274Draft: ISTWCMS-5551: fixing office hours display,!260Feature/istwcms 5668 a5kulkar rename references to publications
......@@ -234,6 +234,7 @@ class UWService implements UWServiceInterface {
'uw_ct_catalog_item',
'uw_ct_event',
'uw_ct_news_item',
'uw_ct_profile',
'uw_ct_project',
'uw_ct_service',
'uw_ct_web_page',
......
......@@ -635,6 +635,10 @@ class UwNodeContent {
$content_data['content'] = $this->addToContentData('content', 'field_uw_profile_summary');
}
if ($node_flags['get_media']) {
$content_data['media'] = $this->addToContentData('media', NULL);
}
// Get the footer for the profile.
if ($node_flags['get_footer']) {
$content_data['footer']['links']['has_children'] = TRUE;
......
......@@ -901,6 +901,7 @@ function uw_cfg_common_form_alter(array &$form, FormStateInterface $form_state,
$remove_hero_image_nodes = [
'web_page',
'catalog',
'profile',
'project',
'service',
];
......
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