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

ISTWCMS-5880: fixing media in layout builder

parent fa8eee67
No related branches found
No related tags found
1 merge request!85ISTWCMS-5880: adding logic for headers/title in contacts
......@@ -625,6 +625,7 @@ function uw_fdsu_theme_resp_preprocess_container(&$variables) {
// Set variables for featured image.
$variables['node_type'] = str_replace('_', '-', $node->getType());
$variables['media'] = $uwService->uwCheckNodeForMedia($node);
$variables['media_flags'] = $uwService->uwGetMediaFlags($node);
// If there is a node object, get the header and footer data.
if ($node) {
......
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