Skip to content

Commit

Permalink
Adds appointment information
Browse files Browse the repository at this point in the history
  • Loading branch information
omahane committed Jan 18, 2024
1 parent ee2ffc6 commit 2cf4175
Show file tree
Hide file tree
Showing 5 changed files with 142 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.paragraph.service_location.field_additional_hours_info
- field.field.paragraph.service_location.field_appointment_introduction_t
- field.field.paragraph.service_location.field_email_contacts
- field.field.paragraph.service_location.field_hours
- field.field.paragraph.service_location.field_office_hours
Expand Down Expand Up @@ -104,14 +105,31 @@ third_party_settings:
region: content
parent_name: ''
weight: 0
format_type: fieldset
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: true
description_display: after
group_appointments:
children:
- field_hservice_appt_intro_select
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
description_display: before
id: paragraph.service_location.default
targetEntityType: paragraph
bundle: service_location
Expand All @@ -125,6 +143,12 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_appointment_introduction_t:
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 @@ -190,7 +214,7 @@ content:
entity_browser_id: _none
field_service_location_address:
type: paragraphs
weight: 25
weight: 21
region: content
settings:
title: Address
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- field.field.paragraph.service_location.field_additional_hours_info
- field.field.paragraph.service_location.field_email_contacts
- field.field.paragraph.service_location.field_hours
- field.field.paragraph.service_location.field_hservice_appt_intro_select
- field.field.paragraph.service_location.field_office_hours
- field.field.paragraph.service_location.field_office_visits
- field.field.paragraph.service_location.field_phone
Expand All @@ -28,7 +29,7 @@ third_party_settings:
label: Hours
parent_name: group_service_location
region: content
weight: 22
weight: 23
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -43,7 +44,7 @@ third_party_settings:
label: 'Contact info'
parent_name: group_service_location
region: content
weight: 23
weight: 24
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -56,7 +57,7 @@ third_party_settings:
label: Address
parent_name: group_service_location
region: content
weight: 21
weight: 22
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -66,6 +67,7 @@ third_party_settings:
group_service_location:
children:
- group_service_options
- group_appointments
- group_address
- group_hours
- group_contact_info
Expand Down Expand Up @@ -93,6 +95,20 @@ third_party_settings:
id: ''
description: ''
description_display: after
group_appointments:
children:
- field_hservice_appt_intro_select
label: Appointments
parent_name: group_service_location
region: content
weight: 21
format_type: fieldset
format_settings:
classes: ''
show_empty_fields: false
id: ''
description: ''
description_display: after
id: paragraph.service_location.default
targetEntityType: paragraph
bundle: service_location
Expand All @@ -106,6 +122,13 @@ content:
third_party_settings: { }
weight: 5
region: content
field_hservice_appt_intro_select:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 24
region: content
field_email_contacts:
type: entity_reference_revisions_entity_view
label: visually_hidden
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
uuid: 17d7b77a-0841-418b-aedc-293d8ecdfef6
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_hservice_appt_intro_select
- paragraphs.paragraphs_type.service_location
module:
- options
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: paragraph.service_location.field_appointment_introduction_t
field_name: field_hservice_appt_intro_select
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
uuid: 0cd1c3df-a8cb-443e-b5d6-0b419623ce27
langcode: en
status: true
dependencies:
module:
- options
- paragraphs
id: paragraph.field_hservice_appt_intro_select
field_name: field_hservice_appt_intro_select
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
33 changes: 33 additions & 0 deletions config/sync/field.storage.paragraph.field_virtual_support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
uuid: 93775174-eea0-44f3-9e77-00513eedcbfe
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
label: 'Yes, on a first-come, first-served basis'
-
value: yes_with_or_without_appt
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

0 comments on commit 2cf4175

Please sign in to comment.