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 ae7b3b505c9..5efa8da6704 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,6 +4,7 @@ status: true dependencies: config: - field.field.paragraph.service_location.field_additional_hours_info + - field.field.paragraph.service_location.field_appointment_introduction_t - field.field.paragraph.service_location.field_email_contacts - field.field.paragraph.service_location.field_hours - field.field.paragraph.service_location.field_office_hours @@ -104,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_hservice_appt_intro_select + 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 @@ -125,6 +143,12 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_appointment_introduction_t: + type: options_buttons + weight: 5 + region: content + settings: { } + third_party_settings: { } field_email_contacts: type: inline_entity_form_complex_table_view_mode weight: 3 @@ -190,7 +214,7 @@ content: entity_browser_id: _none field_service_location_address: type: paragraphs - weight: 25 + weight: 21 region: content settings: title: Address 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 a92a76eca4a..e8925f9f835 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 @@ -6,6 +6,7 @@ dependencies: - field.field.paragraph.service_location.field_additional_hours_info - field.field.paragraph.service_location.field_email_contacts - field.field.paragraph.service_location.field_hours + - field.field.paragraph.service_location.field_hservice_appt_intro_select - field.field.paragraph.service_location.field_office_hours - field.field.paragraph.service_location.field_office_visits - field.field.paragraph.service_location.field_phone @@ -28,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: '' @@ -43,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: '' @@ -56,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: '' @@ -66,6 +67,7 @@ third_party_settings: group_service_location: children: - group_service_options + - group_appointments - group_address - group_hours - group_contact_info @@ -93,6 +95,20 @@ third_party_settings: id: '' description: '' description_display: after + group_appointments: + children: + - field_hservice_appt_intro_select + 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 @@ -106,6 +122,13 @@ content: third_party_settings: { } weight: 5 region: content + field_hservice_appt_intro_select: + type: list_default + label: above + settings: { } + third_party_settings: { } + weight: 24 + region: content field_email_contacts: type: entity_reference_revisions_entity_view label: visually_hidden diff --git a/config/sync/field.field.paragraph.service_location.field_appointment_introduction_t.yml b/config/sync/field.field.paragraph.service_location.field_appointment_introduction_t.yml new file mode 100644 index 00000000000..5dae2fc4b4d --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_appointment_introduction_t.yml @@ -0,0 +1,27 @@ +uuid: 17d7b77a-0841-418b-aedc-293d8ecdfef6 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_hservice_appt_intro_select + - paragraphs.paragraphs_type.service_location + module: + - options + - tmgmt_content +third_party_settings: + tmgmt_content: + excluded: false +id: paragraph.service_location.field_appointment_introduction_t +field_name: field_hservice_appt_intro_select +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.storage.paragraph.field_hservice_appt_intro_select.yml b/config/sync/field.storage.paragraph.field_hservice_appt_intro_select.yml new file mode 100644 index 00000000000..976ddb12a8c --- /dev/null +++ b/config/sync/field.storage.paragraph.field_hservice_appt_intro_select.yml @@ -0,0 +1,30 @@ +uuid: 0cd1c3df-a8cb-443e-b5d6-0b419623ce27 +langcode: en +status: true +dependencies: + module: + - options + - paragraphs +id: paragraph.field_hservice_appt_intro_select +field_name: field_hservice_appt_intro_select +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_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