From 560db8071d006e37347a8e5fd6b47595ddbe6ac1 Mon Sep 17 00:00:00 2001 From: Christian Burk Date: Tue, 10 Oct 2023 09:13:26 -0500 Subject: [PATCH] VACMS-14704: Adding service location fields (#15599) * VACMS:14704: Adding service modalities * VACMS-14704: Adds vocabulary * VACMS-14704: Adds free-text fields. * VACMS-14704: Update langage around service delivery * VACMS-14704: Updates taxonomy label and description --- ...lay.paragraph.service_location.default.yml | 12 ++++++ ...lay.paragraph.service_location.default.yml | 9 +++++ ...ocation.field_service_delivery_options.yml | 39 +++++++++++++++++++ ...ation.field_service_location_descripti.yml | 24 ++++++++++++ ...ce_location.field_task_oriented_header.yml | 24 ++++++++++++ ...ragraph.field_service_delivery_options.yml | 20 ++++++++++ ...graph.field_service_location_descripti.yml | 21 ++++++++++ ...e.paragraph.field_task_oriented_header.yml | 21 ++++++++++ 8 files changed, 170 insertions(+) create mode 100644 config/sync/field.field.paragraph.service_location.field_service_delivery_options.yml create mode 100644 config/sync/field.field.paragraph.service_location.field_service_location_descripti.yml create mode 100644 config/sync/field.field.paragraph.service_location.field_task_oriented_header.yml create mode 100644 config/sync/field.storage.paragraph.field_service_delivery_options.yml create mode 100644 config/sync/field.storage.paragraph.field_service_location_descripti.yml create mode 100644 config/sync/field.storage.paragraph.field_task_oriented_header.yml 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 6dfa1a9775..d9c6211ddf 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 @@ -13,12 +13,14 @@ dependencies: - field.field.paragraph.service_location.field_online_scheduling_avail - field.field.paragraph.service_location.field_other_phone_numbers - field.field.paragraph.service_location.field_phone + - field.field.paragraph.service_location.field_service_delivery_options - 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 module: + - change_labels - entity_browser_entity_form - field_group - ief_table_view_mode @@ -277,6 +279,16 @@ content: third_party_settings: entity_browser_entity_form: entity_browser_id: _none + field_service_delivery_options: + type: options_buttons + weight: 2 + region: content + settings: { } + third_party_settings: + limited_field_widgets: + limit_values: '0' + change_labels: + add_another: '' field_service_location_address: type: paragraphs weight: 21 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 f512bf9ee8..d8ae22bbd6 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 @@ -13,6 +13,7 @@ dependencies: - field.field.paragraph.service_location.field_online_scheduling_avail - field.field.paragraph.service_location.field_other_phone_numbers - field.field.paragraph.service_location.field_phone + - field.field.paragraph.service_location.field_service_delivery_options - 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 @@ -227,6 +228,14 @@ content: third_party_settings: { } weight: 4 region: content + field_service_delivery_options: + type: entity_reference_label + label: above + settings: + link: false + third_party_settings: { } + weight: 6 + region: content field_service_location_address: type: entity_reference_revisions_entity_view label: visually_hidden diff --git a/config/sync/field.field.paragraph.service_location.field_service_delivery_options.yml b/config/sync/field.field.paragraph.service_location.field_service_delivery_options.yml new file mode 100644 index 0000000000..f3079c46b6 --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_service_delivery_options.yml @@ -0,0 +1,39 @@ +uuid: e8753699-64d0-4ece-b01d-53d60acb26cc +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_service_delivery_options + - paragraphs.paragraphs_type.service_location + - taxonomy.vocabulary.service_delivery_options + module: + - entity_reference_validators + - tmgmt_content +third_party_settings: + entity_reference_validators: + circular_reference: false + circular_reference_deep: false + duplicate_reference: false + tmgmt_content: + excluded: false +id: paragraph.service_location.field_service_delivery_options +field_name: field_service_delivery_options +entity_type: paragraph +bundle: service_location +label: 'Service delivery options' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + service_delivery_options: service_delivery_options + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference 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 new file mode 100644 index 0000000000..c5b470ce1c --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_service_location_descripti.yml @@ -0,0 +1,24 @@ +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 new file mode 100644 index 0000000000..16302145b7 --- /dev/null +++ b/config/sync/field.field.paragraph.service_location.field_task_oriented_header.yml @@ -0,0 +1,24 @@ +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_service_delivery_options.yml b/config/sync/field.storage.paragraph.field_service_delivery_options.yml new file mode 100644 index 0000000000..6ab18274cc --- /dev/null +++ b/config/sync/field.storage.paragraph.field_service_delivery_options.yml @@ -0,0 +1,20 @@ +uuid: 88e99263-1551-4f7b-97a6-e92e48525c5b +langcode: en +status: true +dependencies: + module: + - paragraphs + - taxonomy +id: paragraph.field_service_delivery_options +field_name: field_service_delivery_options +entity_type: paragraph +type: entity_reference +settings: + target_type: taxonomy_term +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_service_location_descripti.yml b/config/sync/field.storage.paragraph.field_service_location_descripti.yml new file mode 100644 index 0000000000..cb730aef8f --- /dev/null +++ b/config/sync/field.storage.paragraph.field_service_location_descripti.yml @@ -0,0 +1,21 @@ +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 new file mode 100644 index 0000000000..db90f926dd --- /dev/null +++ b/config/sync/field.storage.paragraph.field_task_oriented_header.yml @@ -0,0 +1,21 @@ +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