Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VACMS-14704: Adding service location fields #15599

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ dependencies:
- field.field.paragraph.service_location.field_hours
- field.field.paragraph.service_location.field_office_hours
- 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_service_location_descripti
- field.field.paragraph.service_location.field_task_oriented_header
- field.field.paragraph.service_location.field_use_main_facility_phone
- paragraphs.paragraphs_type.service_location
module:
- change_labels
- entity_browser_entity_form
- field_group
- ief_table_view_mode
Expand All @@ -28,7 +32,7 @@ third_party_settings:
label: Hours
region: content
parent_name: ''
weight: 1
weight: 4
format_type: details
format_settings:
classes: ''
Expand All @@ -42,7 +46,7 @@ third_party_settings:
label: Address
region: content
parent_name: ''
weight: 0
weight: 3
format_type: details
format_settings:
classes: ''
Expand All @@ -57,7 +61,7 @@ third_party_settings:
label: 'Contact info'
region: content
parent_name: ''
weight: 2
weight: 5
format_type: details
format_settings:
classes: ''
Expand Down Expand Up @@ -123,6 +127,7 @@ content:
collapsible: false
collapsed: false
revision: false
removed_reference: optional
allow_system_delete: false
third_party_settings:
entity_browser_entity_form:
Expand All @@ -137,7 +142,8 @@ content:
type: office_hours_default
weight: 1
region: content
settings: { }
settings:
collapsed: false
third_party_settings:
limited_field_widgets:
limit_values: '0'
Expand All @@ -157,10 +163,21 @@ content:
collapsible: false
collapsed: false
revision: false
removed_reference: optional
allow_system_delete: false
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: 25
Expand All @@ -180,6 +197,22 @@ content:
collapse_edit_all: '0'
duplicate: '0'
third_party_settings: { }
field_service_location_descripti:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_task_oriented_header:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
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 @@ -8,7 +8,10 @@ dependencies:
- field.field.paragraph.service_location.field_hours
- field.field.paragraph.service_location.field_office_hours
- 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_service_location_descripti
- field.field.paragraph.service_location.field_task_oriented_header
- field.field.paragraph.service_location.field_use_main_facility_phone
- paragraphs.paragraphs_type.service_location
module:
Expand All @@ -26,7 +29,7 @@ third_party_settings:
label: Hours
parent_name: group_service_location
region: content
weight: 2
weight: 8
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -41,7 +44,7 @@ third_party_settings:
label: 'Contact info'
parent_name: group_service_location
region: content
weight: 3
weight: 9
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -54,7 +57,7 @@ third_party_settings:
label: Address
parent_name: group_service_location
region: content
weight: 1
weight: 7
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -63,6 +66,9 @@ third_party_settings:
open: true
group_service_location:
children:
- field_task_oriented_header
- field_service_location_descripti
- field_service_delivery_options
- group_address
- group_hours
- group_contact_info
Expand Down Expand Up @@ -114,6 +120,7 @@ content:
grouped: false
show_closed: all
closed_format: Closed
all_day_format: 'All day open'
separator:
days: '<br />'
grouped_days: ' - '
Expand All @@ -124,6 +131,11 @@ content:
position: ''
open_text: 'Currently open!'
closed_text: 'Currently closed'
exceptions:
title: 'Exception hours'
restrict_exceptions_to_num_days: 7
date_format: long
all_day_format: 'All day open'
timezone_field: ''
office_hours_first_day: ''
schema:
Expand All @@ -140,6 +152,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
Expand All @@ -149,6 +169,22 @@ content:
third_party_settings: { }
weight: 7
region: content
field_service_location_descripti:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 5
region: content
field_task_oriented_header:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 4
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,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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions config/sync/field.storage.paragraph.field_task_oriented_header.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: ac0269fe-3d1d-4e17-940d-45e0f047a0ae
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.service_delivery_options
id: taxonomy_term.service_delivery_options
target_entity_type_id: taxonomy_term
target_bundle: service_delivery_options
default_langcode: site_default
language_alterable: false
8 changes: 8 additions & 0 deletions config/sync/taxonomy.vocabulary.service_delivery_options.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
uuid: f938c303-a996-4d5e-ab9e-964c8be514df
langcode: en
status: true
dependencies: { }
name: 'VA Service delivery options'
vid: service_delivery_options
description: 'Single source of truth for service delivery options (e.g. in-person appointments, virtual hotline)'
weight: 0