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

ISTWCMS-5880: adding banners to catalogs

parent 8165fc5d
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
......@@ -231,6 +231,7 @@ class UWService implements UWServiceInterface {
case 'media':
$preprocess = [
'uw_ct_blog',
'uw_ct_catalog_item',
'uw_ct_event',
'uw_ct_news_item',
'uw_ct_web_page',
......
......@@ -482,6 +482,10 @@ class UwNodeContent {
$content_data['content'] = $this->addToContentData('content', 'field_uw_news_summary');
}
if ($node_flags['get_media']) {
$content_data['media'] = $this->addToContentData('media', NULL);
}
// Get the footer for catalog items.
if ($node_flags['get_footer']) {
......
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