diff --git a/src/Service/UwNodeContent.php b/src/Service/UwNodeContent.php index 0d2fdec7ced17b7231746f5bdb9b4260f48547ed..d29d2fe8b8fc1c5013287f9f33c89c00eab6775a 100644 --- a/src/Service/UwNodeContent.php +++ b/src/Service/UwNodeContent.php @@ -120,7 +120,7 @@ class UwNodeContent { $node_flags['get_footer'] = FALSE; $node_flags['get_image'] = FALSE; $node_flags['get_content'] = FALSE; - $node_flags['get_title'] = TRUE; + $node_flags['get_title'] = FALSE; $node_flags['get_hero'] = FALSE; $node_flags['get_listing_image'] = FALSE; @@ -131,11 +131,8 @@ class UwNodeContent { $node_flags['get_content'] = TRUE; if ($view_mode == 'full') { + $node_flags['get_title'] = TRUE; $node_flags['get_hero'] = TRUE; - - if (in_array($node->getType(), array_keys($hero_image))) { - $node_flags['get_title'] = FALSE; - } } elseif ($view_mode == 'teaser') { $node_flags['get_footer'] = FALSE;