Loading modules/social_features/social_landing_page/social_landing_page.module +1 −1 Original line number Diff line number Diff line Loading @@ -306,7 +306,7 @@ function _social_landing_page_get_hero_image(NodeInterface $node) { // Must be of type hero. if ($paragraph_content && $paragraph_content->getType() === 'hero') { if ($paragraph_content->get('field_hero_image')->isEmpty()) { return []; continue; } $fid = $paragraph_content->get('field_hero_image')->target_id; $file = File::load($fid); Loading Loading
modules/social_features/social_landing_page/social_landing_page.module +1 −1 Original line number Diff line number Diff line Loading @@ -306,7 +306,7 @@ function _social_landing_page_get_hero_image(NodeInterface $node) { // Must be of type hero. if ($paragraph_content && $paragraph_content->getType() === 'hero') { if ($paragraph_content->get('field_hero_image')->isEmpty()) { return []; continue; } $fid = $paragraph_content->get('field_hero_image')->target_id; $file = File::load($fid); Loading