diff --git a/src/Service/UwNodeContent.php b/src/Service/UwNodeContent.php index 383d485e42f7b4e1874fee9a615e67e2a7c1deed..d7abe39e79de5982ade489d8305c889c7e804b19 100644 --- a/src/Service/UwNodeContent.php +++ b/src/Service/UwNodeContent.php @@ -401,13 +401,7 @@ class UwNodeContent { // Setup the header content. if ($node_flags['get_header']) { - if ($view_mode == 'teaser') { - $content_data['header']['date'] = $this->addToContentData('date', 'field_uw_news_date'); - } - else { - $content_data['header']['date'] = $this->addToContentData('date', 'field_uw_news_date'); - $content_data['header']['author'] = $this->addToContentData('author', 'field_author'); - } + $content_data['header']['date'] = $this->addToContentData('date', 'field_uw_news_date'); } // Get the media.