diff --git a/config/install/layout_builder_browser.layout_builder_browser_block.uw_cbl_profile_teaser.yml b/config/install/layout_builder_browser.layout_builder_browser_block.uw_cbl_profile_teaser.yml new file mode 100644 index 0000000000000000000000000000000000000000..e0dadf50285d988e249cb48c7cd2d31152860f27 --- /dev/null +++ b/config/install/layout_builder_browser.layout_builder_browser_block.uw_cbl_profile_teaser.yml @@ -0,0 +1,11 @@ +langcode: en +status: true +dependencies: { } +id: uw_cbl_profile_teaser +block_id: uw_cbl_profile_teaser +category: uw_bc_teasers +label: 'Profile teaser' +weight: -2 +image_path: images/layout_builder_browser/profileteaser.svg +image_path_base: 'theme:uw_fdsu_theme_resp' +image_alt: 'profile icon' diff --git a/src/Service/UWService.php b/src/Service/UWService.php index e476b8b0c22b849869442fc8cb69b6ea93b3ff13..c226efb02ee0d89304c6de4e9df9518ceb641353 100644 --- a/src/Service/UWService.php +++ b/src/Service/UWService.php @@ -282,6 +282,7 @@ class UWService implements UWServiceInterface { 'affiliation' => $get_header ? 'field_uw_ct_profile_affiliation' : NULL, 'content' => $get_content ? 'field_uw_profile_summary' : NULL, 'image' => $get_header ? 'field_uw_ct_profile_image' : NULL, + 'sources' => $get_image ? 'field_uw_ct_profile_image' : NULL, 'tags' => $get_footer ? $tag_list : NULL, 'link_profile' => $get_footer ? 'field_uw_ct_profile_info_link' : NULL, 'personal_webpage' => $get_footer ? 'field_uw_ct_profile_link_persona' : NULL,