Skip to content

Commit

Permalink
VACMS-16348: Adds service options, office hours and virtual support
Browse files Browse the repository at this point in the history
  • Loading branch information
omahane committed Jan 24, 2024
1 parent 1d34069 commit fab9bf9
Show file tree
Hide file tree
Showing 6 changed files with 165 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -28,7 +30,7 @@ third_party_settings:
label: Hours
region: content
parent_name: ''
weight: 4
weight: 2
format_type: details
format_settings:
classes: ''
Expand All @@ -42,7 +44,7 @@ third_party_settings:
label: Address
region: content
parent_name: ''
weight: 3
weight: 1
format_type: details
format_settings:
classes: ''
Expand All @@ -57,7 +59,7 @@ third_party_settings:
label: 'Contact info'
region: content
parent_name: ''
weight: 5
weight: 3
format_type: details
format_settings:
classes: ''
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
33 changes: 33 additions & 0 deletions config/sync/field.storage.paragraph.field_office_visits.yml
Original file line number Diff line number Diff line change
@@ -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
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: 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

0 comments on commit fab9bf9

Please sign in to comment.