diff --git a/config/sync/core.entity_form_display.paragraph.service_location.default.yml b/config/sync/core.entity_form_display.paragraph.service_location.default.yml index 8963208248d..95e803bcc26 100644 --- a/config/sync/core.entity_form_display.paragraph.service_location.default.yml +++ b/config/sync/core.entity_form_display.paragraph.service_location.default.yml @@ -4,14 +4,13 @@ status: true dependencies: config: - field.field.paragraph.service_location.field_additional_hours_info + - field.field.paragraph.service_location.field_appointment_intro_text - field.field.paragraph.service_location.field_email_contacts - field.field.paragraph.service_location.field_hours - field.field.paragraph.service_location.field_office_hours - field.field.paragraph.service_location.field_office_visits - field.field.paragraph.service_location.field_phone - field.field.paragraph.service_location.field_service_location_address - - field.field.paragraph.service_location.field_service_location_descripti - - field.field.paragraph.service_location.field_task_oriented_header - field.field.paragraph.service_location.field_use_main_facility_phone - field.field.paragraph.service_location.field_virtual_support - paragraphs.paragraphs_type.service_location @@ -106,14 +105,31 @@ third_party_settings: region: content parent_name: '' weight: 0 - format_type: fieldset + format_type: details format_settings: classes: '' show_empty_fields: false id: '' + open: false description: '' required_fields: true description_display: after + group_appointments: + children: + - field_appointment_intro_text + label: Appointments + region: content + parent_name: '' + weight: 1 + format_type: details + format_settings: + classes: '' + show_empty_fields: false + id: '' + open: false + description: 'Provide information that helps site visitors make an appointment for this service.' + required_fields: true + description_display: before id: paragraph.service_location.default targetEntityType: paragraph bundle: service_location @@ -127,6 +143,12 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_appointment_intro_text: + type: options_buttons + weight: 29 + region: content + settings: { } + third_party_settings: { } field_email_contacts: type: inline_entity_form_complex_table_view_mode weight: 3 @@ -192,7 +214,7 @@ content: entity_browser_id: _none field_service_location_address: type: paragraphs - weight: 25 + weight: 21 region: content settings: title: Address @@ -209,22 +231,6 @@ content: collapse_edit_all: '0' duplicate: '0' third_party_settings: { } - field_service_location_descripti: - type: string_textfield - weight: 1 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } - field_task_oriented_header: - type: string_textfield - weight: 0 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: { } field_use_main_facility_phone: type: boolean_checkbox weight: 4 @@ -240,4 +246,5 @@ content: third_party_settings: { } hidden: created: true + field_appointment_introduction_t: true status: true diff --git a/config/sync/core.entity_view_display.paragraph.service_location.default.yml b/config/sync/core.entity_view_display.paragraph.service_location.default.yml index 7a6274fdace..fe2d7a76022 100644 --- a/config/sync/core.entity_view_display.paragraph.service_location.default.yml +++ b/config/sync/core.entity_view_display.paragraph.service_location.default.yml @@ -4,14 +4,13 @@ status: true dependencies: config: - field.field.paragraph.service_location.field_additional_hours_info + - field.field.paragraph.service_location.field_appointment_intro_text - field.field.paragraph.service_location.field_email_contacts - field.field.paragraph.service_location.field_hours - field.field.paragraph.service_location.field_office_hours - field.field.paragraph.service_location.field_office_visits - field.field.paragraph.service_location.field_phone - field.field.paragraph.service_location.field_service_location_address - - field.field.paragraph.service_location.field_service_location_descripti - - field.field.paragraph.service_location.field_task_oriented_header - field.field.paragraph.service_location.field_use_main_facility_phone - field.field.paragraph.service_location.field_virtual_support - paragraphs.paragraphs_type.service_location @@ -30,7 +29,7 @@ third_party_settings: label: Hours parent_name: group_service_location region: content - weight: 22 + weight: 23 format_type: fieldset format_settings: classes: '' @@ -45,7 +44,7 @@ third_party_settings: label: 'Contact info' parent_name: group_service_location region: content - weight: 23 + weight: 24 format_type: fieldset format_settings: classes: '' @@ -58,7 +57,7 @@ third_party_settings: label: Address parent_name: group_service_location region: content - weight: 21 + weight: 22 format_type: fieldset format_settings: classes: '' @@ -68,6 +67,7 @@ third_party_settings: group_service_location: children: - group_service_options + - group_appointments - group_address - group_hours - group_contact_info @@ -95,6 +95,20 @@ third_party_settings: id: '' description: '' description_display: after + group_appointments: + children: + - field_appointment_intro_text + label: Appointments + parent_name: group_service_location + region: content + weight: 21 + format_type: fieldset + format_settings: + classes: '' + show_empty_fields: false + id: '' + description: '' + description_display: after id: paragraph.service_location.default targetEntityType: paragraph bundle: service_location @@ -108,6 +122,13 @@ content: third_party_settings: { } weight: 5 region: content + field_appointment_intro_text: + type: list_default + label: above + settings: { } + third_party_settings: { } + weight: 25 + region: content field_email_contacts: type: entity_reference_revisions_entity_view label: visually_hidden @@ -182,22 +203,6 @@ content: third_party_settings: { } weight: 7 region: content - field_service_location_descripti: - type: string - label: above - settings: - link_to_entity: false - third_party_settings: { } - weight: 5 - region: content - field_task_oriented_header: - type: string - label: above - settings: - link_to_entity: false - third_party_settings: { } - weight: 4 - region: content field_use_main_facility_phone: type: boolean label: above @@ -216,4 +221,5 @@ content: weight: 11 region: content hidden: + field_appointment_introduction_t: true search_api_excerpt: true diff --git a/config/sync/field.field.paragraph.service_location.field_appointment_intro_text.yml b/config/sync/field.field.paragraph.service_location.field_appointment_intro_text.yml new file mode 100644 index 00000000000..eb266f64a64 --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_appointment_intro_text.yml @@ -0,0 +1,27 @@ +uuid: 2192d1b2-d5d8-4c0c-8c88-39f89748d80e +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_appointment_intro_text + - paragraphs.paragraphs_type.service_location + module: + - options + - tmgmt_content +third_party_settings: + tmgmt_content: + excluded: false +id: paragraph.service_location.field_appointment_intro_text +field_name: field_appointment_intro_text +entity_type: paragraph +bundle: service_location +label: 'Appointment introduction text' +description: 'Add additional details about how to make appointments at this location.' +required: true +translatable: false +default_value: + - + value: use_default_text +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.field.paragraph.service_location.field_service_location_descripti.yml b/config/sync/field.field.paragraph.service_location.field_service_location_descripti.yml deleted file mode 100644 index c5b470ce1ce..00000000000 --- a/config/sync/field.field.paragraph.service_location.field_service_location_descripti.yml +++ /dev/null @@ -1,24 +0,0 @@ -uuid: b1137b98-b583-41ec-ae1c-d9055e027fa8 -langcode: en -status: true -dependencies: - config: - - field.storage.paragraph.field_service_location_descripti - - paragraphs.paragraphs_type.service_location - module: - - tmgmt_content -third_party_settings: - tmgmt_content: - excluded: false -id: paragraph.service_location.field_service_location_descripti -field_name: field_service_location_descripti -entity_type: paragraph -bundle: service_location -label: 'Service location description' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/config/sync/field.field.paragraph.service_location.field_task_oriented_header.yml b/config/sync/field.field.paragraph.service_location.field_task_oriented_header.yml deleted file mode 100644 index 16302145b7c..00000000000 --- a/config/sync/field.field.paragraph.service_location.field_task_oriented_header.yml +++ /dev/null @@ -1,24 +0,0 @@ -uuid: 0c22f499-e717-4540-94d5-b4344cdecf7b -langcode: en -status: true -dependencies: - config: - - field.storage.paragraph.field_task_oriented_header - - paragraphs.paragraphs_type.service_location - module: - - tmgmt_content -third_party_settings: - tmgmt_content: - excluded: false -id: paragraph.service_location.field_task_oriented_header -field_name: field_task_oriented_header -entity_type: paragraph -bundle: service_location -label: 'Task-oriented descriptive header' -description: '' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/config/sync/field.storage.paragraph.field_appointment_intro_text.yml b/config/sync/field.storage.paragraph.field_appointment_intro_text.yml new file mode 100644 index 00000000000..2d6d03de430 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_appointment_intro_text.yml @@ -0,0 +1,30 @@ +uuid: b6d8181a-e2b6-42de-adb6-63a844f9cd3a +langcode: en +status: true +dependencies: + module: + - options + - paragraphs +id: paragraph.field_appointment_intro_text +field_name: field_appointment_intro_text +entity_type: paragraph +type: list_string +settings: + allowed_values: + - + value: use_default_text + label: 'Use default text' + - + value: customize_text + label: 'Customize text' + - + value: remove_text + label: 'Remove text' + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_service_location_descripti.yml b/config/sync/field.storage.paragraph.field_service_location_descripti.yml deleted file mode 100644 index cb730aef8f7..00000000000 --- a/config/sync/field.storage.paragraph.field_service_location_descripti.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: 08189d44-be34-4f4e-b42e-2d77e69acf84 -langcode: en -status: true -dependencies: - module: - - paragraphs -id: paragraph.field_service_location_descripti -field_name: field_service_location_descripti -entity_type: paragraph -type: string -settings: - max_length: 255 - case_sensitive: false - is_ascii: false -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_task_oriented_header.yml b/config/sync/field.storage.paragraph.field_task_oriented_header.yml deleted file mode 100644 index db90f926dd8..00000000000 --- a/config/sync/field.storage.paragraph.field_task_oriented_header.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: a2c511a4-0798-49e7-9b84-aeb45378e45a -langcode: en -status: true -dependencies: - module: - - paragraphs -id: paragraph.field_task_oriented_header -field_name: field_task_oriented_header -entity_type: paragraph -type: string -settings: - max_length: 255 - case_sensitive: false - is_ascii: false -module: core -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_virtual_support.yml b/config/sync/field.storage.paragraph.field_virtual_support.yml new file mode 100644 index 00000000000..59f46134e76 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_virtual_support.yml @@ -0,0 +1,33 @@ +uuid: 93775174-eea0-44f3-9e77-00513eedcbfe +langcode: en +status: true +dependencies: + module: + - options + - paragraphs +id: paragraph.field_virtual_support +field_name: field_virtual_support +entity_type: paragraph +type: list_string +settings: + allowed_values: + - + value: 'no' + label: 'No' + - + value: yes_appointment_only + label: 'Yes, by appointment only' + - + value: yes_first_come_first_served + label: 'Yes, on a first-come, first-served basis' + - + value: yes_with_or_without_appt + label: 'Yes, with or without an appointment' + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false