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

ISTWCMS-5880: adding contact to media above

parent 51b2ca7b
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
......@@ -232,6 +232,7 @@ class UWService implements UWServiceInterface {
$preprocess = [
'uw_ct_blog',
'uw_ct_catalog_item',
'uw_ct_contact',
'uw_ct_event',
'uw_ct_news_item',
'uw_ct_opportunity',
......
......@@ -572,6 +572,10 @@ class UwNodeContent {
$content_data['content'] = $this->addToContentData('content', NULL);
}
if ($node_flags['get_media']) {
$content_data['media'] = $this->addToContentData('media', NULL);
}
// Get the footer data.
if ($node_flags['get_footer']) {
......
......@@ -901,6 +901,7 @@ function uw_cfg_common_form_alter(array &$form, FormStateInterface $form_state,
$remove_hero_image_nodes = [
'web_page',
'catalog',
'contact',
'opportunity',
'profile',
'project',
......
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