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 8031b2a5a3..6611647c0d 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,12 +4,16 @@ status: true dependencies: config: - field.field.paragraph.service_location.field_additional_hours_info + - field.field.paragraph.service_location.field_appt_intro_text_custom + - field.field.paragraph.service_location.field_appt_intro_text_type - 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_other_phone_numbers - field.field.paragraph.service_location.field_phone - field.field.paragraph.service_location.field_service_location_address + - field.field.paragraph.service_location.field_use_facility_phone_number - field.field.paragraph.service_location.field_use_main_facility_phone - field.field.paragraph.service_location.field_virtual_support - paragraphs.paragraphs_type.service_location @@ -20,6 +24,7 @@ dependencies: - limited_field_widgets - office_hours - paragraphs + - textfield_counter third_party_settings: field_group: group_service_hours: @@ -30,7 +35,7 @@ third_party_settings: label: Hours region: content parent_name: '' - weight: 2 + weight: 3 format_type: details format_settings: classes: '' @@ -44,7 +49,7 @@ third_party_settings: label: Address region: content parent_name: '' - weight: 1 + weight: 2 format_type: details format_settings: classes: '' @@ -59,7 +64,7 @@ third_party_settings: label: 'Contact info' region: content parent_name: '' - weight: 3 + weight: 4 format_type: details format_settings: classes: '' @@ -112,6 +117,39 @@ third_party_settings: open: false description: '' required_fields: true + group_appointments: + children: + - field_appt_intro_text_type + - field_appt_intro_text_custom + - group_phone_number_for_appt + 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 + group_phone_number_for_appt: + children: + - field_use_facility_phone_number + - field_other_phone_numbers + label: 'Phone number for appointments' + region: content + parent_name: group_appointments + weight: 7 + format_type: details + format_settings: + classes: '' + show_empty_fields: false + id: '' + open: true + description: '' + required_fields: true id: paragraph.service_location.default targetEntityType: paragraph bundle: service_location @@ -125,6 +163,26 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_appt_intro_text_custom: + type: string_textarea_with_counter + weight: 6 + region: content + settings: + rows: 5 + placeholder: '' + maxlength: 200 + counter_position: after + js_prevent_submit: true + count_only_mode: false + count_html_characters: true + textcount_status_message: '@remaining_count characters remaining' + third_party_settings: { } + field_appt_intro_text_type: + type: options_buttons + weight: 5 + region: content + settings: { } + third_party_settings: { } field_email_contacts: type: inline_entity_form_complex_table_view_mode weight: 3 @@ -167,6 +225,29 @@ content: region: content settings: { } third_party_settings: { } + field_other_phone_numbers: + type: inline_entity_form_complex_table_view_mode + weight: 30 + region: content + settings: + form_mode: default + override_labels: true + label_singular: 'phone number' + label_plural: 'phone numbers' + allow_new: true + allow_existing: false + match_operator: CONTAINS + allow_duplicate: false + collapsible: false + collapsed: false + revision: false + removed_reference: optional + allow_system_delete: 0 + third_party_settings: + entity_browser_entity_form: + entity_browser_id: _none + change_labels: + add_another: '' field_phone: type: inline_entity_form_complex_table_view_mode weight: 5 @@ -190,7 +271,7 @@ content: entity_browser_id: _none field_service_location_address: type: paragraphs - weight: 25 + weight: 21 region: content settings: title: Address @@ -207,6 +288,13 @@ content: collapse_edit_all: '0' duplicate: '0' third_party_settings: { } + field_use_facility_phone_number: + type: boolean_checkbox + weight: 29 + region: content + settings: + display_label: true + third_party_settings: { } field_use_main_facility_phone: type: boolean_checkbox weight: 4 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 c449e0c0e1..1f508357eb 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,12 +4,16 @@ status: true dependencies: config: - field.field.paragraph.service_location.field_additional_hours_info + - field.field.paragraph.service_location.field_appt_intro_text_custom + - field.field.paragraph.service_location.field_appt_intro_text_type - 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_other_phone_numbers - field.field.paragraph.service_location.field_phone - field.field.paragraph.service_location.field_service_location_address + - field.field.paragraph.service_location.field_use_facility_phone_number - field.field.paragraph.service_location.field_use_main_facility_phone - field.field.paragraph.service_location.field_virtual_support - paragraphs.paragraphs_type.service_location @@ -93,6 +97,20 @@ content: third_party_settings: { } weight: 5 region: content + field_appt_intro_text_custom: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 15 + region: content + field_appt_intro_text_type: + type: list_default + label: above + settings: { } + third_party_settings: { } + weight: 12 + region: content field_email_contacts: type: entity_reference_revisions_entity_view label: visually_hidden @@ -149,6 +167,15 @@ content: third_party_settings: { } weight: 10 region: content + field_other_phone_numbers: + type: entity_reference_revisions_entity_view + label: above + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 14 + region: content field_phone: type: entity_reference_revisions_entity_view label: visually_hidden @@ -167,6 +194,16 @@ content: third_party_settings: { } weight: 7 region: content + field_use_facility_phone_number: + type: boolean + label: above + settings: + format: default + format_custom_false: '' + format_custom_true: '' + third_party_settings: { } + weight: 13 + region: content field_use_main_facility_phone: type: boolean label: above diff --git a/config/sync/field.field.paragraph.service_location.field_appt_intro_text_custom.yml b/config/sync/field.field.paragraph.service_location.field_appt_intro_text_custom.yml new file mode 100644 index 0000000000..e7162a6fd4 --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_appt_intro_text_custom.yml @@ -0,0 +1,24 @@ +uuid: 96e55910-7eba-493f-be2d-6908196adceb +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_appt_intro_text_custom + - paragraphs.paragraphs_type.service_location + module: + - tmgmt_content +third_party_settings: + tmgmt_content: + excluded: false +id: paragraph.service_location.field_appt_intro_text_custom +field_name: field_appt_intro_text_custom +entity_type: paragraph +bundle: service_location +label: 'Custom text' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string_long diff --git a/config/sync/field.field.paragraph.service_location.field_appt_intro_text_type.yml b/config/sync/field.field.paragraph.service_location.field_appt_intro_text_type.yml new file mode 100644 index 0000000000..18484b9c16 --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_appt_intro_text_type.yml @@ -0,0 +1,27 @@ +uuid: 16342b68-830c-4d90-956e-20f5a52d2a10 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_appt_intro_text_type + - paragraphs.paragraphs_type.service_location + module: + - options + - tmgmt_content +third_party_settings: + tmgmt_content: + excluded: false +id: paragraph.service_location.field_appt_intro_text_type +field_name: field_appt_intro_text_type +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_other_phone_numbers.yml b/config/sync/field.field.paragraph.service_location.field_other_phone_numbers.yml new file mode 100644 index 0000000000..d1b719058f --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_other_phone_numbers.yml @@ -0,0 +1,167 @@ +uuid: d6e438b0-0393-43b1-bf9d-dc61b874680c +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_other_phone_numbers + - paragraphs.paragraphs_type.phone_number + - paragraphs.paragraphs_type.service_location + module: + - entity_reference_revisions + - tmgmt_content +third_party_settings: + tmgmt_content: + excluded: false +id: paragraph.service_location.field_other_phone_numbers +field_name: field_other_phone_numbers +entity_type: paragraph +bundle: service_location +label: 'Other phone numbers' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + phone_number: phone_number + negate: 0 + target_bundles_drag_drop: + address: + weight: 46 + enabled: false + alert: + weight: 47 + enabled: false + alert_single: + weight: 48 + enabled: false + audience_topics: + weight: 49 + enabled: false + basic_accordion: + weight: 50 + enabled: false + button: + weight: 51 + enabled: false + centralized_content_descriptor: + weight: 52 + enabled: false + checklist: + weight: 53 + enabled: false + checklist_item: + weight: 54 + enabled: false + collapsible_panel: + weight: 55 + enabled: false + collapsible_panel_item: + weight: 56 + enabled: false + contact_information: + weight: 57 + enabled: false + downloadable_file: + weight: 58 + enabled: false + email_contact: + weight: 59 + enabled: false + embedded_video: + weight: 60 + enabled: false + expandable_text: + weight: 61 + enabled: false + featured_content: + weight: 62 + enabled: false + health_care_local_facility_servi: + weight: 63 + enabled: false + link_teaser: + weight: 64 + enabled: false + link_teaser_with_image: + weight: 65 + enabled: false + list_of_link_teasers: + weight: 68 + enabled: false + list_of_links: + weight: 67 + enabled: false + lists_of_links: + weight: 66 + enabled: false + magichead_group: + weight: 69 + enabled: false + media: + weight: 70 + enabled: false + media_list_images: + weight: 71 + enabled: false + media_list_videos: + weight: 72 + enabled: false + non_reusable_alert: + weight: 73 + enabled: false + number_callout: + weight: 74 + enabled: false + phone_number: + weight: 75 + enabled: true + process: + weight: 76 + enabled: false + q_a: + weight: 77 + enabled: false + q_a_group: + weight: 78 + enabled: false + q_a_section: + weight: 79 + enabled: false + react_widget: + weight: 80 + enabled: false + rich_text_char_limit_1000: + weight: 81 + enabled: false + service_location: + weight: 82 + enabled: false + service_location_address: + weight: 83 + enabled: false + situation_update: + weight: 84 + enabled: false + spanish_translation_summary: + weight: 85 + enabled: false + staff_profile: + weight: 86 + enabled: false + step: + weight: 87 + enabled: false + step_by_step: + weight: 88 + enabled: false + table: + weight: 89 + enabled: false + wysiwyg: + weight: 90 + enabled: false +field_type: entity_reference_revisions diff --git a/config/sync/field.field.paragraph.service_location.field_use_facility_phone_number.yml b/config/sync/field.field.paragraph.service_location.field_use_facility_phone_number.yml new file mode 100644 index 0000000000..b093df23d8 --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_use_facility_phone_number.yml @@ -0,0 +1,28 @@ +uuid: 98e2d610-9d03-4475-80e8-483570ed84ac +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_use_facility_phone_number + - paragraphs.paragraphs_type.service_location + module: + - tmgmt_content +third_party_settings: + tmgmt_content: + excluded: false +id: paragraph.service_location.field_use_facility_phone_number +field_name: field_use_facility_phone_number +entity_type: paragraph +bundle: service_location +label: 'Use the facility phone number' +description: '' +required: false +translatable: false +default_value: + - + value: 1 +default_value_callback: '' +settings: + on_label: 'On' + off_label: 'Off' +field_type: boolean diff --git a/config/sync/field.storage.paragraph.field_appt_intro_text_custom.yml b/config/sync/field.storage.paragraph.field_appt_intro_text_custom.yml new file mode 100644 index 0000000000..e13ffa6734 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_appt_intro_text_custom.yml @@ -0,0 +1,19 @@ +uuid: aa95ab71-2c33-47cd-af64-b7a83b669b85 +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_appt_intro_text_custom +field_name: field_appt_intro_text_custom +entity_type: paragraph +type: string_long +settings: + case_sensitive: 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_appt_intro_text_type.yml b/config/sync/field.storage.paragraph.field_appt_intro_text_type.yml new file mode 100644 index 0000000000..925439f7dc --- /dev/null +++ b/config/sync/field.storage.paragraph.field_appt_intro_text_type.yml @@ -0,0 +1,30 @@ +uuid: 6c7b3a37-c14d-4993-9c41-264a3add5058 +langcode: en +status: true +dependencies: + module: + - options + - paragraphs +id: paragraph.field_appt_intro_text_type +field_name: field_appt_intro_text_type +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_other_phone_numbers.yml b/config/sync/field.storage.paragraph.field_other_phone_numbers.yml new file mode 100644 index 0000000000..c9148ae8e4 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_other_phone_numbers.yml @@ -0,0 +1,20 @@ +uuid: 476b0bff-b268-4af8-a67f-8bcd4c7af62e +langcode: en +status: true +dependencies: + module: + - entity_reference_revisions + - paragraphs +id: paragraph.field_other_phone_numbers +field_name: field_other_phone_numbers +entity_type: paragraph +type: entity_reference_revisions +settings: + target_type: paragraph +module: entity_reference_revisions +locked: false +cardinality: 5 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_use_facility_phone_number.yml b/config/sync/field.storage.paragraph.field_use_facility_phone_number.yml new file mode 100644 index 0000000000..267d43fb52 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_use_facility_phone_number.yml @@ -0,0 +1,18 @@ +uuid: 9c969af6-a594-4339-9a8e-2d2bc98fd6c9 +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_use_facility_phone_number +field_name: field_use_facility_phone_number +entity_type: paragraph +type: boolean +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false