diff --git a/CHANGELOG.md b/CHANGELOG.md index a290568d..ebb93c86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # SOE Profile +11.4.1 +------------------------------------------------------------------------------- +- Added "Site Type" field to site information config page. + 11.4.0 ------------------------------------------------------------------------------- - Enabled internal link force relative option diff --git a/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml b/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml index 15a9f06a..6e5ede02 100644 --- a/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml +++ b/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml @@ -29,6 +29,7 @@ dependencies: - field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact - field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due - field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact + - field.field.config_pages.stanford_basic_site_settings.su_site_type - field.field.config_pages.stanford_basic_site_settings.su_site_url module: - change_labels @@ -103,6 +104,7 @@ third_party_settings: - su_site_tech_contact - su_site_a11y_contact - su_site_org + - su_site_type label: 'Site Contacts' region: content parent_name: group_tabs @@ -160,7 +162,7 @@ content: third_party_settings: { } su_hide_site_search: type: boolean_checkbox - weight: 7 + weight: 14 region: content settings: display_label: true @@ -195,21 +197,21 @@ content: third_party_settings: { } su_site_algolia: type: boolean_checkbox - weight: 9 + weight: 16 region: content settings: display_label: true third_party_settings: { } su_site_algolia_file: type: file_generic - weight: 15 + weight: 22 region: content settings: progress_indicator: throbber third_party_settings: { } su_site_algolia_id: type: string_textfield - weight: 11 + weight: 18 region: content settings: size: 60 @@ -217,7 +219,7 @@ content: third_party_settings: { } su_site_algolia_index: type: string_textfield - weight: 14 + weight: 21 region: content settings: size: 60 @@ -225,7 +227,7 @@ content: third_party_settings: { } su_site_algolia_key: type: string_textfield - weight: 12 + weight: 19 region: content settings: size: 60 @@ -233,7 +235,7 @@ content: third_party_settings: { } su_site_algolia_search: type: string_textfield - weight: 13 + weight: 20 region: content settings: size: 60 @@ -241,7 +243,7 @@ content: third_party_settings: { } su_site_algolia_ui: type: boolean_checkbox - weight: 10 + weight: 17 region: content settings: display_label: true @@ -308,7 +310,7 @@ content: third_party_settings: { } su_site_nobots: type: boolean_checkbox - weight: 8 + weight: 15 region: content settings: display_label: true @@ -347,6 +349,12 @@ content: placeholder: '' size: 60 third_party_settings: { } + su_site_type: + type: options_select + weight: 8 + region: content + settings: { } + third_party_settings: { } su_site_url: type: link_default weight: 3 diff --git a/config/sync/core.entity_view_display.config_pages.stanford_basic_site_settings.default.yml b/config/sync/core.entity_view_display.config_pages.stanford_basic_site_settings.default.yml index cbcacfc6..358923ec 100644 --- a/config/sync/core.entity_view_display.config_pages.stanford_basic_site_settings.default.yml +++ b/config/sync/core.entity_view_display.config_pages.stanford_basic_site_settings.default.yml @@ -17,6 +17,7 @@ dependencies: - field.field.config_pages.stanford_basic_site_settings.su_site_algolia_index - field.field.config_pages.stanford_basic_site_settings.su_site_algolia_key - field.field.config_pages.stanford_basic_site_settings.su_site_algolia_search + - field.field.config_pages.stanford_basic_site_settings.su_site_algolia_ui - field.field.config_pages.stanford_basic_site_settings.su_site_dropdowns - field.field.config_pages.stanford_basic_site_settings.su_site_email - field.field.config_pages.stanford_basic_site_settings.su_site_home @@ -28,11 +29,13 @@ dependencies: - field.field.config_pages.stanford_basic_site_settings.su_site_owner_contact - field.field.config_pages.stanford_basic_site_settings.su_site_renewal_due - field.field.config_pages.stanford_basic_site_settings.su_site_tech_contact + - field.field.config_pages.stanford_basic_site_settings.su_site_type - field.field.config_pages.stanford_basic_site_settings.su_site_url module: - datetime - file - link + - options - text id: config_pages.stanford_basic_site_settings.default targetEntityType: config_pages @@ -240,6 +243,13 @@ content: third_party_settings: { } weight: 16 region: content + su_site_type: + type: list_default + label: above + settings: { } + third_party_settings: { } + weight: 25 + region: content su_site_url: type: link label: above diff --git a/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_type.yml b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_type.yml new file mode 100644 index 00000000..b2e8f0eb --- /dev/null +++ b/config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_type.yml @@ -0,0 +1,21 @@ +uuid: 18918dc6-5dca-49ee-be52-a2d0c57ac172 +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_basic_site_settings + - field.storage.config_pages.su_site_type + module: + - options +id: config_pages.stanford_basic_site_settings.su_site_type +field_name: su_site_type +entity_type: config_pages +bundle: stanford_basic_site_settings +label: 'Site Type' +description: "What kind of site is this?\r\n" +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.storage.config_pages.su_site_type.yml b/config/sync/field.storage.config_pages.su_site_type.yml new file mode 100644 index 00000000..7ba6dd8e --- /dev/null +++ b/config/sync/field.storage.config_pages.su_site_type.yml @@ -0,0 +1,55 @@ +uuid: aef7044a-cf89-41f3-b683-aff011270c5b +langcode: en +status: true +dependencies: + module: + - config_pages + - field_permissions + - options +third_party_settings: + field_permissions: + permission_type: custom +id: config_pages.su_site_type +field_name: su_site_type +entity_type: config_pages +type: list_string +settings: + allowed_values: + - + value: administrative + label: Administrative + - + value: academic + label: Academic + - + value: faculty + label: Faculty + - + value: research + label: Research + - + value: personal + label: Personal + - + value: community + label: Community + - + value: project + label: Project + - + value: course + label: Course + - + value: service_facility + label: Service/Facility + - + value: other + label: Other + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/soe_profile.info.yml b/soe_profile.info.yml index 89609288..7aee09c4 100644 --- a/soe_profile.info.yml +++ b/soe_profile.info.yml @@ -1,6 +1,6 @@ name: 'SOE Profile' description: 'Jumpstart Website Profile' -version: 11.4.0 +version: 11.4.1 type: profile project: Stanford core_version_requirement: ^10 || ^11