diff --git a/src/Service/UwNodeContent.php b/src/Service/UwNodeContent.php index 8a2b21a27c03bddf267a238907ce2e4f05a02447..f2bd68f80dff0ae29165c8e7849001ee51edc16d 100644 --- a/src/Service/UwNodeContent.php +++ b/src/Service/UwNodeContent.php @@ -557,6 +557,15 @@ class UwNodeContent { $content_data['header']['position'] = $this->addToContentData('plain_text', 'field_uw_ct_profile_title'); } + // Get listing image. + if ($node_flags['get_image']) { + $content_data['image'] = $this->addToContentData('image', 'field_uw_ct_profile_image'); + $content_data['image']['extra_options'] = [ + 'type' => 'listing_image', + 'is_responsive' => TRUE, + ]; + } + // Setup the actual content. if ($node_flags['get_content']) { $content_data['content'] = $this->addToContentData('content', 'field_uw_profile_summary');