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 99be8ed562..8031b2a5a3 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 @@ -7,9 +7,11 @@ dependencies: - 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_use_main_facility_phone + - field.field.paragraph.service_location.field_virtual_support - paragraphs.paragraphs_type.service_location module: - entity_browser_entity_form @@ -28,7 +30,7 @@ third_party_settings: label: Hours region: content parent_name: '' - weight: 4 + weight: 2 format_type: details format_settings: classes: '' @@ -42,7 +44,7 @@ third_party_settings: label: Address region: content parent_name: '' - weight: 3 + weight: 1 format_type: details format_settings: classes: '' @@ -57,7 +59,7 @@ third_party_settings: label: 'Contact info' region: content parent_name: '' - weight: 5 + weight: 3 format_type: details format_settings: classes: '' @@ -94,6 +96,22 @@ third_party_settings: open: true description: '' required_fields: false + group_service_options: + children: + - field_office_visits + - field_virtual_support + label: 'Service options' + region: content + parent_name: '' + weight: 0 + format_type: details + format_settings: + classes: '' + show_empty_fields: false + id: '' + open: false + description: '' + required_fields: true id: paragraph.service_location.default targetEntityType: paragraph bundle: service_location @@ -143,6 +161,12 @@ content: third_party_settings: limited_field_widgets: limit_values: '0' + field_office_visits: + type: options_buttons + weight: 4 + region: content + settings: { } + third_party_settings: { } field_phone: type: inline_entity_form_complex_table_view_mode weight: 5 @@ -190,6 +214,12 @@ content: settings: display_label: true third_party_settings: { } + field_virtual_support: + type: options_buttons + weight: 5 + region: content + settings: { } + third_party_settings: { } hidden: created: 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 67628a4dd4..c449e0c0e1 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 @@ -7,9 +7,11 @@ dependencies: - 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_use_main_facility_phone + - field.field.paragraph.service_location.field_virtual_support - paragraphs.paragraphs_type.service_location module: - entity_reference_revisions @@ -140,6 +142,13 @@ content: third_party_settings: { } weight: 3 region: content + field_office_visits: + type: list_default + label: above + settings: { } + third_party_settings: { } + weight: 10 + region: content field_phone: type: entity_reference_revisions_entity_view label: visually_hidden @@ -168,5 +177,12 @@ content: third_party_settings: { } weight: 3 region: content + field_virtual_support: + type: list_default + label: above + settings: { } + third_party_settings: { } + weight: 11 + region: content hidden: search_api_excerpt: true diff --git a/config/sync/field.field.paragraph.service_location.field_office_visits.yml b/config/sync/field.field.paragraph.service_location.field_office_visits.yml new file mode 100644 index 0000000000..8bf97383e5 --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_office_visits.yml @@ -0,0 +1,25 @@ +uuid: 7ca5d939-6e73-4797-8f19-f622ecce3414 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_office_visits + - paragraphs.paragraphs_type.service_location + module: + - options + - tmgmt_content +third_party_settings: + tmgmt_content: + excluded: false +id: paragraph.service_location.field_office_visits +field_name: field_office_visits +entity_type: paragraph +bundle: service_location +label: 'Office visits' +description: 'Select if Veterans can travel to a physical location to receive services.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.field.paragraph.service_location.field_virtual_support.yml b/config/sync/field.field.paragraph.service_location.field_virtual_support.yml new file mode 100644 index 0000000000..e524d1df32 --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_virtual_support.yml @@ -0,0 +1,25 @@ +uuid: 397e5cab-f363-4eb3-926b-010efbabfde6 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_virtual_support + - paragraphs.paragraphs_type.service_location + module: + - options + - tmgmt_content +third_party_settings: + tmgmt_content: + excluded: false +id: paragraph.service_location.field_virtual_support +field_name: field_virtual_support +entity_type: paragraph +bundle: service_location +label: 'Virtual support' +description: 'Select whether Veterans can receive services by phone or video call. ' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.storage.paragraph.field_office_visits.yml b/config/sync/field.storage.paragraph.field_office_visits.yml new file mode 100644 index 0000000000..28c9646201 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_office_visits.yml @@ -0,0 +1,33 @@ +uuid: be4da6fb-7785-484c-b130-c2127c2a47aa +langcode: en +status: true +dependencies: + module: + - options + - paragraphs +id: paragraph.field_office_visits +field_name: field_office_visits +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_basis + label: 'Yes, on a first-come, first-served basis' + - + value: yes_with_or_without_appointment + 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 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 0000000000..bc694e0ff3 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_virtual_support.yml @@ -0,0 +1,33 @@ +uuid: 1a3585fe-48dd-44b5-9dee-186b1a7478a2 +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_basis + label: 'Yes, on a first-come, first-served basis' + - + value: yes_with_or_without_appointment + 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