Skip to content
Snippets Groups Projects
Commit 71348f36 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5204: adding image to node layout builder

parent 463ca97e
No related branches found
No related tags found
1 merge request!181ISTWCMS-5204: ensuring that image styles are created so that it can be used...
...@@ -151,6 +151,10 @@ class UwNodeContent { ...@@ -151,6 +151,10 @@ class UwNodeContent {
} }
else { else {
if ($content == 'header') { if ($content == 'header') {
if ($node->getType() == 'uw_ct_contact') {
$node_flags['get_image'] = TRUE;
}
$node_flags['get_header'] = TRUE; $node_flags['get_header'] = TRUE;
$node_flags['get_title'] = TRUE; $node_flags['get_title'] = TRUE;
$node_flags['get_hero'] = TRUE; $node_flags['get_hero'] = TRUE;
......
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