From 0d8f08f0a38c0fbd240e87b956e087604611aff6 Mon Sep 17 00:00:00 2001 From: Kassandra Sharp Date: Sun, 13 Oct 2024 12:15:01 -0700 Subject: [PATCH] EARTH-1347 Fix person type default view. --- ...w_display.node.stanford_person.default.yml | 935 +++++++++++++++++- 1 file changed, 897 insertions(+), 38 deletions(-) diff --git a/docroot/profiles/sdss/sdss_profile/config/sync/core.entity_view_display.node.stanford_person.default.yml b/docroot/profiles/sdss/sdss_profile/config/sync/core.entity_view_display.node.stanford_person.default.yml index 06660e25d..5a1835eb2 100644 --- a/docroot/profiles/sdss/sdss_profile/config/sync/core.entity_view_display.node.stanford_person.default.yml +++ b/docroot/profiles/sdss/sdss_profile/config/sync/core.entity_view_display.node.stanford_person.default.yml @@ -1,9 +1,9 @@ -uuid: 5dd1ebc9-f284-4a5f-b64c-3ccae280d2ca +uuid: 9a336806-bb82-4f38-90c1-ff50e7e8798b langcode: en status: true dependencies: config: - - core.entity_view_mode.node.teaser + - core.base_field_override.node.stanford_person.title - field.field.node.stanford_person.body - field.field.node.stanford_person.field_menulink - field.field.node.stanford_person.layout_builder__layout @@ -32,10 +32,8 @@ dependencies: - field.field.node.stanford_person.su_person_research_interests - field.field.node.stanford_person.su_person_scholarly_interests - field.field.node.stanford_person.su_person_short_title - - field.field.node.stanford_person.su_person_sunetid - field.field.node.stanford_person.su_person_telephone - field.field.node.stanford_person.su_person_type_group - - field.field.node.stanford_person.su_person_wg_tags - field.field.node.stanford_person.su_sdss_person_alt_bio - field.field.node.stanford_person.su_sdss_person_alt_title - field.field.node.stanford_person.su_sdss_person_focal_areas @@ -45,19 +43,682 @@ dependencies: - field.field.node.stanford_person.su_sdss_related_content - field.field.node.stanford_person.su_shared_tags - node.type.stanford_person + - views.view.stanford_publications module: + - entity_reference_revisions + - jumpstart_ui + - layout_builder + - layout_builder_restrictions + - layout_library + - link + - stanford_person - text - user -id: node.stanford_person.teaser + - views +third_party_settings: + layout_builder: + enabled: true + allow_custom: true + sections: + - + layout_id: stanford_person_header + layout_settings: + label: 'Person Header' + context_mapping: { } + components: + 08266556-ce1f-4167-b8b7-8c6a94d7acb3: + uuid: 08266556-ce1f-4167-b8b7-8c6a94d7acb3 + region: name + configuration: + id: jumpstart_ui_skipnav_main_anchor + label: 'Main content anchor target' + label_display: '0' + provider: jumpstart_ui + context_mapping: { } + weight: -10 + additional: { } + cfc2c3db-caf9-46a5-81c9-935860897edd: + uuid: cfc2c3db-caf9-46a5-81c9-935860897edd + region: name + configuration: + id: 'field_block:node:stanford_person:title' + label: 'Full Name' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: entity_title_heading + label: hidden + settings: + tag: h1 + third_party_settings: + field_formatter_class: + class: su-person-full-name + weight: -8 + additional: { } + 3ffb98b1-0e49-427c-ae05-28bca7f8b35f: + uuid: 3ffb98b1-0e49-427c-ae05-28bca7f8b35f + region: text + configuration: + id: 'field_block:node:stanford_person:su_person_full_title' + label: 'Full Title' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: basic_string + label: hidden + settings: { } + third_party_settings: + field_formatter_class: + class: su-person-full-title + weight: -7 + additional: { } + 1de9875f-f4aa-47f6-a813-39dfd35d5ccf: + uuid: 1de9875f-f4aa-47f6-a813-39dfd35d5ccf + region: name + configuration: + id: 'field_block:node:stanford_person:su_person_short_title' + label: 'Short Title' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: + field_formatter_class: + class: su-short-title + weight: 0 + additional: { } + 0d5ce623-cc57-4e84-947f-4c1dcd8c3354: + uuid: 0d5ce623-cc57-4e84-947f-4c1dcd8c3354 + region: quote_name + configuration: + id: 'field_block:node:stanford_person:title' + label: 'Full Name' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: entity_title_heading + label: hidden + settings: + tag: h1 + third_party_settings: + field_formatter_class: + class: su-person-name + weight: 1 + additional: { } + e0a82a15-455a-4d3b-99f8-446122b1d302: + uuid: e0a82a15-455a-4d3b-99f8-446122b1d302 + region: quote_title + configuration: + id: jumpstart_ui_skipnav_main_anchor + label: 'Main content anchor target' + label_display: '0' + provider: jumpstart_ui + context_mapping: { } + weight: -10 + additional: { } + 65beb11f-8040-4951-8ad7-90e28d5a566a: + uuid: 65beb11f-8040-4951-8ad7-90e28d5a566a + region: quote_long_title + configuration: + id: 'field_block:node:stanford_person:su_person_full_title' + label: 'Full Title' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: basic_string + label: hidden + settings: { } + third_party_settings: + field_formatter_class: + class: su-person-full-title + weight: 0 + additional: { } + 4aa9941a-d5a0-4640-80b8-4f47de956405: + uuid: 4aa9941a-d5a0-4640-80b8-4f47de956405 + region: quote_media + configuration: + id: 'field_block:node:stanford_person:su_person_photo' + label: Photo + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: media_image_formatter + label: hidden + settings: + view_mode: default + link: false + image_style: medium_square + remove_alt: true + third_party_settings: + field_formatter_class: + class: su-person-photo + weight: 0 + additional: { } + 9e6e76d4-b758-4c2b-97a7-495f43965c3a: + uuid: 9e6e76d4-b758-4c2b-97a7-495f43965c3a + region: quote_long_title + configuration: + id: 'field_block:node:stanford_person:su_person_pronouns' + label: Pronouns + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: inline + settings: + link_to_entity: false + third_party_settings: + field_formatter_class: + class: '' + weight: 1 + additional: { } + third_party_settings: { } + - + layout_id: stanford_person_body + layout_settings: + label: 'Content Body' + context_mapping: { } + components: + 9f1711f5-f94a-4d9f-9aee-c91ce9d123d9: + uuid: 9f1711f5-f94a-4d9f-9aee-c91ce9d123d9 + region: right + configuration: + id: 'field_block:node:stanford_person:su_person_links' + label: Links + label_display: visible + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: link + label: hidden + settings: + trim_length: null + url_only: false + url_plain: false + rel: nofollow + target: '0' + third_party_settings: + field_formatter_class: + class: su-person-links + ds: + ds_limit: '' + weight: 10 + additional: { } + 82a532c7-d73f-491e-8ce3-3fd27c29a815: + uuid: 82a532c7-d73f-491e-8ce3-3fd27c29a815 + region: right + configuration: + id: 'field_block:node:stanford_person:su_person_map_url' + label: 'Map URL' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: link + label: inline + settings: + trim_length: null + url_only: false + url_plain: false + rel: '0' + target: '0' + third_party_settings: + field_formatter_class: + class: su-person-map-link + weight: 9 + additional: { } + a69dd40a-c1a3-4266-b0ce-7efdaaa137fe: + uuid: a69dd40a-c1a3-4266-b0ce-7efdaaa137fe + region: right + configuration: + id: 'field_block:node:stanford_person:su_person_location_address' + label: 'Location Address' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: text_default + label: hidden + settings: { } + third_party_settings: + field_formatter_class: + class: su-person-location-address + weight: 8 + additional: { } + e04c6120-8ac4-4ff0-bd25-8588de307dd1: + uuid: e04c6120-8ac4-4ff0-bd25-8588de307dd1 + region: right + configuration: + id: 'field_block:node:stanford_person:su_person_location_name' + label: Location + label_display: visible + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: + field_formatter_class: + class: su-person-location-name + weight: 6 + additional: { } + 8222e428-abc1-40e2-9309-e6ca03530c1f: + uuid: 8222e428-abc1-40e2-9309-e6ca03530c1f + region: right + configuration: + id: 'field_block:node:stanford_person:su_person_mail_code' + label: 'Mail Code' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: + field_formatter_class: + class: su-person-mail-code + weight: 5 + additional: { } + 0cff0fa4-edcc-4bae-93bf-865242051b35: + uuid: 0cff0fa4-edcc-4bae-93bf-865242051b35 + region: right + configuration: + id: 'field_block:node:stanford_person:su_person_email' + label: Email + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: email_mailto + label: hidden + settings: { } + third_party_settings: + field_formatter_class: + class: su-person-email + weight: 4 + additional: { } + fc351b32-c332-4d8c-9da8-cd15a4692604: + uuid: fc351b32-c332-4d8c-9da8-cd15a4692604 + region: right + configuration: + id: 'field_block:node:stanford_person:su_person_fax' + label: Fax + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: + field_formatter_class: + class: su-person-fax + weight: 3 + additional: { } + af2e67a2-b520-4708-bbf0-3c2a348669ed: + uuid: af2e67a2-b520-4708-bbf0-3c2a348669ed + region: right + configuration: + id: 'field_block:node:stanford_person:su_person_mobile_phone' + label: 'Mobile Phone' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: + field_formatter_class: + class: su-person-mobile + weight: 1 + additional: { } + a29d77d8-dbcd-4215-8a3a-2653cc2fcbd5: + uuid: a29d77d8-dbcd-4215-8a3a-2653cc2fcbd5 + region: right + configuration: + id: 'field_block:node:stanford_person:su_person_telephone' + label: Contact + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: + field_formatter_class: + class: su-person-telephone + weight: 0 + additional: { } + aaa920da-eeff-42f1-8b1a-63e940dee638: + uuid: aaa920da-eeff-42f1-8b1a-63e940dee638 + region: main + configuration: + id: 'field_block:node:stanford_person:su_person_affiliations' + label: 'Stanford Affiliations' + label_display: visible + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: link + label: hidden + settings: + trim_length: null + url_only: false + url_plain: false + rel: nofollow + target: '0' + third_party_settings: + field_formatter_class: + class: su-person-affiliations + ds: + ds_limit: '' + weight: 4 + additional: { } + b6ebfc7d-2035-4b63-a17c-adc15ba17fbe: + uuid: b6ebfc7d-2035-4b63-a17c-adc15ba17fbe + region: main + configuration: + id: 'field_block:node:stanford_person:su_person_research' + label: Research + label_display: visible + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: text_default + label: hidden + settings: { } + third_party_settings: + field_formatter_class: + class: su-person-research + ds: + ds_limit: '' + weight: 3 + additional: { } + 1c0fe326-6520-4837-8022-65865025a1ac: + uuid: 1c0fe326-6520-4837-8022-65865025a1ac + region: main + configuration: + id: 'field_block:node:stanford_person:su_person_education' + label: Education + label_display: visible + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: string + label: hidden + settings: + link_to_entity: false + third_party_settings: + field_formatter_class: + class: su-person-education + ds: + ds_limit: '' + weight: 2 + additional: { } + 42f48ce2-9cfb-442c-9c7a-55a63ddf63e4: + uuid: 42f48ce2-9cfb-442c-9c7a-55a63ddf63e4 + region: main + configuration: + id: 'field_block:node:stanford_person:body' + label: Body + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: text_default + label: hidden + settings: { } + third_party_settings: + field_formatter_class: + class: su-person-body + weight: 0 + additional: { } + cc3fd331-6cc8-4988-88ed-2312832a2e19: + uuid: cc3fd331-6cc8-4988-88ed-2312832a2e19 + region: main + configuration: + id: 'field_block:node:stanford_person:su_person_components' + label: Components + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: layout_paragraphs + label: hidden + settings: + view_mode: default + third_party_settings: + field_formatter_class: + class: su-person-components + weight: 1 + additional: { } + 091088b1-a703-4427-bc0e-9b627205b671: + uuid: 091088b1-a703-4427-bc0e-9b627205b671 + region: right + configuration: + id: 'field_block:node:stanford_person:su_person_profile_link' + label: 'Profile Link' + label_display: '0' + provider: layout_builder + context_mapping: + entity: layout_builder.entity + view_mode: view_mode + formatter: + type: link_class + label: hidden + settings: + class: su-button + trim_length: 80 + url_only: false + url_plain: false + rel: '0' + target: '0' + third_party_settings: + field_formatter_class: + class: '' + weight: 11 + additional: { } + third_party_settings: { } + - + layout_id: jumpstart_ui_one_column + layout_settings: + label: '' + context_mapping: { } + extra_classes: '' + centered: centered-container + columns: default + components: + 500a8acd-f0fc-4021-81f8-61e665df0d70: + uuid: 500a8acd-f0fc-4021-81f8-61e665df0d70 + region: main + configuration: + id: 'views_block:stanford_publications-author_list' + label: Publications + label_display: visible + provider: views + context_mapping: { } + views_label: Publications + items_per_page: none + weight: 0 + additional: { } + third_party_settings: { } + layout_builder_restrictions: + allowed_block_categories: + - 'Basic Page Type Lists (Views)' + - 'Chaos Tools' + - 'Config Pages' + - 'Content fields' + - 'Custom block types' + - 'Custom blocks' + - 'Events Lists (Views)' + - Forms + - Help + - 'Inline blocks' + - 'Jumpstart UI' + - 'Lists (Views)' + - Menus + - 'News Lists (Views)' + - 'PDB React' + - 'People Lists (Views)' + - 'Publication (Views)' + - React + - 'SimpleSAMLphp Authentication' + - 'Stanford News' + - 'Stanford Profile Helper' + - 'Stanford SimpleSAML PHP' + - System + - Views + - core + entity_view_mode_restriction: + allowed_layouts: + - jumpstart_ui_one_column + - jumpstart_ui_two_column + - jumpstart_ui_three_column + - stanford_person_header + - stanford_person_body + denylisted_blocks: + 'Content fields': + - 'field_block:node:stanford_person:uid' + - 'field_block:node:stanford_person:created' + - 'field_block:node:stanford_person:type' + - 'field_block:node:stanford_person:revision_default' + - 'field_block:node:stanford_person:default_langcode' + - 'field_block:node:stanford_person:nid' + - 'field_block:node:stanford_person:langcode' + - 'extra_field_block:node:stanford_person:links' + - 'field_block:node:stanford_person:menu_link' + - 'field_block:node:stanford_person:promote' + - 'field_block:node:stanford_person:status' + - 'field_block:node:stanford_person:rh_action' + - 'field_block:node:stanford_person:rh_redirect_fallback_action' + - 'field_block:node:stanford_person:rh_redirect' + - 'field_block:node:stanford_person:rh_redirect_response' + - 'field_block:node:stanford_person:revision_timestamp' + - 'field_block:node:stanford_person:vid' + - 'field_block:node:stanford_person:revision_log' + - 'field_block:node:stanford_person:revision_translation_affected' + - 'field_block:node:stanford_person:revision_uid' + - 'extra_field_block:node:stanford_person:search_api_excerpt' + - 'field_block:node:stanford_person:sticky' + - 'field_block:node:stanford_person:unpublish_on' + - 'field_block:user:user:changed' + - 'field_block:user:user:created' + - 'field_block:user:user:default_langcode' + - 'field_block:user:user:su_display_name' + - 'field_block:user:user:mail' + - 'field_block:user:user:init' + - 'field_block:user:user:langcode' + - 'field_block:user:user:access' + - 'field_block:user:user:login' + - 'extra_field_block:user:user:member_for' + - 'field_block:user:user:name' + - 'field_block:user:user:preferred_admin_langcode' + - 'field_block:user:user:preferred_langcode' + - 'field_block:user:user:role_change' + - 'field_block:user:user:roles' + - 'extra_field_block:user:user:search_api_excerpt' + - 'field_block:user:user:timezone' + - 'field_block:user:user:uid' + - 'field_block:user:user:status' + allowlisted_blocks: + Menus: + - 'system_menu_block:stanford-event-types' + - 'menu_block:stanford-event-types' + - 'system_menu_block:main' + - 'menu_block:main' + - 'menu_block:stanford-person-type' + - 'system_menu_block:stanford-person-type' + - 'menu_block:stanford-publication-topics' + - 'system_menu_block:stanford-publication-topics' + - 'system_menu_block:news-topics' + - 'menu_block:news-topics' + System: + - system_breadcrumb_block + core: + - page_title_block + restricted_categories: + - 'Chaos Tools' + - 'Config Pages' + - Forms + - Help + - 'Lists (Views)' + - React + - 'SimpleSAMLphp Authentication' + - 'Stanford Profile Helper' + - 'Stanford SimpleSAML PHP' + - Views + layout_library: + enable: false +id: node.stanford_person.default targetEntityType: node bundle: stanford_person -mode: teaser +mode: default content: body: - type: text_summary_or_trimmed + type: text_default label: hidden - settings: - trim_length: 600 + settings: { } third_party_settings: { } weight: 101 region: content @@ -66,6 +727,233 @@ content: third_party_settings: { } weight: 100 region: content + su_person_affiliations: + type: link + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 109 + region: content + su_person_components: + type: entity_reference_revisions_entity_view + label: above + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 121 + region: main + su_person_education: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 111 + region: content + su_person_email: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 118 + region: content + su_person_fax: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 115 + region: content + su_person_first_name: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 104 + region: content + su_person_full_title: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 106 + region: content + su_person_last_name: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 105 + region: content + su_person_links: + type: link + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 120 + region: content + su_person_location_address: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 117 + region: content + su_person_location_name: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 116 + region: content + su_person_mail_code: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 119 + region: content + su_person_map_url: + type: link + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 124 + region: content + su_person_mobile_phone: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 114 + region: content + su_person_photo: + type: entity_reference_entity_view + label: above + settings: + view_mode: default + link: false + third_party_settings: { } + weight: 102 + region: content + su_person_profile_link: + type: link + label: above + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + weight: 127 + region: content + su_person_research: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 112 + region: content + su_person_short_title: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 103 + region: content + su_person_telephone: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 113 + region: content + su_person_type_group: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 126 + region: content + su_sdss_person_alt_bio: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 132 + region: content + su_sdss_person_alt_title: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 131 + region: content + su_sdss_person_focal_areas: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 133 + region: content + su_sdss_person_organization: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 128 + region: content + su_sdss_person_research_area: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 129 + region: content + su_sdss_person_research_state: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 130 + region: content + su_sdss_related_content: + type: entity_reference_label + label: above + settings: + link: true + third_party_settings: { } + weight: 134 + region: content hidden: field_menulink: true layout_builder__layout: true @@ -74,36 +962,7 @@ hidden: su_metatags: true su_person_academic_appt: true su_person_admin_appts: true - su_person_affiliations: true - su_person_components: true - su_person_education: true - su_person_email: true - su_person_fax: true - su_person_first_name: true - su_person_full_title: true - su_person_last_name: true - su_person_links: true - su_person_location_address: true - su_person_location_name: true - su_person_mail_code: true - su_person_map_url: true - su_person_mobile_phone: true - su_person_photo: true - su_person_profile_link: true su_person_pronouns: true - su_person_research: true su_person_research_interests: true su_person_scholarly_interests: true - su_person_short_title: true - su_person_sunetid: true - su_person_telephone: true - su_person_type_group: true - su_person_wg_tags: true - su_sdss_person_alt_bio: true - su_sdss_person_alt_title: true - su_sdss_person_focal_areas: true - su_sdss_person_organization: true - su_sdss_person_research_area: true - su_sdss_person_research_state: true - su_sdss_related_content: true su_shared_tags: true