Skip to content

Commit

Permalink
Adds phone and appointment fields
Browse files Browse the repository at this point in the history
  • Loading branch information
omahane committed Jan 24, 2024
1 parent 9923549 commit b96e511
Show file tree
Hide file tree
Showing 10 changed files with 439 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ dependencies:
config:
- field.field.paragraph.service_location.field_additional_hours_info
- field.field.paragraph.service_location.field_appointment_intro_text
- field.field.paragraph.service_location.field_appointment_phone_number
- field.field.paragraph.service_location.field_appt_custom_text
- field.field.paragraph.service_location.field_appt_use_facility_phone
- 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_online_scheduling_avail
- 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
Expand All @@ -21,6 +25,7 @@ dependencies:
- limited_field_widgets
- office_hours
- paragraphs
- textfield_counter
third_party_settings:
field_group:
group_service_hours:
Expand Down Expand Up @@ -117,7 +122,9 @@ third_party_settings:
group_appointments:
children:
- field_appointment_intro_text
- field_appointment_phone_number
- field_appt_custom_text
- group_add_phone_number_for_appt
- field_online_scheduling_avail
label: Appointments
region: content
parent_name: ''
Expand All @@ -131,6 +138,22 @@ third_party_settings:
description: 'Provide information that helps site visitors make an appointment for this service.'
required_fields: true
description_display: before
group_add_phone_number_for_appt:
children:
- field_appt_use_facility_phone
- field_appointment_phone_number
label: 'Add phone number for appointments'
region: content
parent_name: group_appointments
weight: 31
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: true
description: ''
required_fields: false
id: paragraph.service_location.default
targetEntityType: paragraph
bundle: service_location
Expand All @@ -150,6 +173,50 @@ content:
region: content
settings: { }
third_party_settings: { }
field_appointment_phone_number:
type: inline_entity_form_complex_table_view_mode
weight: 32
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_appt_custom_text:
type: string_textarea_with_counter
weight: 30
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_use_facility_phone:
type: boolean_checkbox
weight: 31
region: content
settings:
display_label: true
third_party_settings: { }
field_email_contacts:
type: inline_entity_form_complex_table_view_mode
weight: 3
Expand Down Expand Up @@ -192,6 +259,12 @@ content:
region: content
settings: { }
third_party_settings: { }
field_online_scheduling_avail:
type: options_select
weight: 32
region: content
settings: { }
third_party_settings: { }
field_phone:
type: inline_entity_form_complex_table_view_mode
weight: 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ dependencies:
config:
- field.field.paragraph.service_location.field_additional_hours_info
- field.field.paragraph.service_location.field_appointment_intro_text
- field.field.paragraph.service_location.field_appointment_phone_number
- field.field.paragraph.service_location.field_appt_custom_text
- field.field.paragraph.service_location.field_appt_use_facility_phone
- 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_online_scheduling_avail
- 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
Expand Down Expand Up @@ -129,6 +133,32 @@ content:
third_party_settings: { }
weight: 25
region: content
field_appointment_phone_number:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 26
region: content
field_appt_custom_text:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 29
region: content
field_appt_use_facility_phone:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 27
region: content
field_email_contacts:
type: entity_reference_revisions_entity_view
label: visually_hidden
Expand Down Expand Up @@ -185,6 +215,13 @@ content:
third_party_settings: { }
weight: 10
region: content
field_online_scheduling_avail:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 28
region: content
field_phone:
type: entity_reference_revisions_entity_view
label: visually_hidden
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
uuid: 61a272eb-7ee7-4940-988c-b34f35d4fad7
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_appointment_phone_number
- 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_appointment_phone_number
field_name: field_appointment_phone_number
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: 6cb41777-cd48-4270-ab99-b2fbbe2b1fba
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_appt_custom_text
- paragraphs.paragraphs_type.service_location
module:
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: paragraph.service_location.field_appt_custom_text
field_name: field_appt_custom_text
entity_type: paragraph
bundle: service_location
label: 'Custom text'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long
Loading

0 comments on commit b96e511

Please sign in to comment.