Skip to content

Commit

Permalink
VACMS-16348: Adds appointment fields
Browse files Browse the repository at this point in the history
  • Loading branch information
omahane committed Jan 24, 2024
1 parent fab9bf9 commit d2f570c
Show file tree
Hide file tree
Showing 10 changed files with 462 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -20,6 +24,7 @@ dependencies:
- limited_field_widgets
- office_hours
- paragraphs
- textfield_counter
third_party_settings:
field_group:
group_service_hours:
Expand All @@ -30,7 +35,7 @@ third_party_settings:
label: Hours
region: content
parent_name: ''
weight: 2
weight: 3
format_type: details
format_settings:
classes: ''
Expand All @@ -44,7 +49,7 @@ third_party_settings:
label: Address
region: content
parent_name: ''
weight: 1
weight: 2
format_type: details
format_settings:
classes: ''
Expand All @@ -59,7 +64,7 @@ third_party_settings:
label: 'Contact info'
region: content
parent_name: ''
weight: 3
weight: 4
format_type: details
format_settings:
classes: ''
Expand Down Expand Up @@ -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
Expand All @@ -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: '<span class="remaining_count">@remaining_count</span> 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
Expand Down Expand Up @@ -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
Expand All @@ -190,7 +271,7 @@ content:
entity_browser_id: _none
field_service_location_address:
type: paragraphs
weight: 25
weight: 21
region: content
settings:
title: Address
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit d2f570c

Please sign in to comment.