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-14699: Adding a Entity Field Fetch fields for VBA Centralized content #15528

Merged
merged 7 commits into from
Oct 6, 2023
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
232 changes: 217 additions & 15 deletions config/sync/core.entity_form_display.node.vba_facility.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ dependencies:
config:
- field.field.node.vba_facility.field_address
- field.field.node.vba_facility.field_administration
- field.field.node.vba_facility.field_cc_benefit_office_hours_va
- field.field.node.vba_facility.field_cc_benefits_hotline
- field.field.node.vba_facility.field_cc_cant_find_benefits
- field.field.node.vba_facility.field_cc_get_updates_from_vba
- field.field.node.vba_facility.field_cc_national_spotlight_1
- field.field.node.vba_facility.field_cc_national_spotlight_2
- field.field.node.vba_facility.field_cc_national_spotlight_3
- field.field.node.vba_facility.field_cc_vba_facility_overview
- field.field.node.vba_facility.field_facility_locator_api_id
- field.field.node.vba_facility.field_facility_vba_classificatio
- field.field.node.vba_facility.field_geolocation
Expand All @@ -28,6 +36,7 @@ dependencies:
- address
- change_labels
- content_moderation
- entity_field_fetch
- field_group
- geofield
- limited_field_widgets
Expand Down Expand Up @@ -63,7 +72,7 @@ third_party_settings:
label: 'Section settings'
region: content
parent_name: ''
weight: 5
weight: 10
format_type: details_sidebar
format_settings:
classes: ''
Expand All @@ -80,7 +89,7 @@ third_party_settings:
label: 'Editorial Workflow'
region: content
parent_name: ''
weight: 6
weight: 12
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -93,7 +102,7 @@ third_party_settings:
label: 'Locations and contact information'
region: content
parent_name: ''
weight: 3
weight: 4
format_type: fieldset
format_settings:
classes: ''
Expand Down Expand Up @@ -139,7 +148,7 @@ third_party_settings:
label: 'Top of page information'
region: content
parent_name: ''
weight: 2
weight: 3
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -154,7 +163,7 @@ third_party_settings:
label: 'Prepare for your visit'
region: content
parent_name: ''
weight: 4
weight: 7
format_type: details
format_settings:
classes: ''
Expand All @@ -163,6 +172,127 @@ third_party_settings:
open: true
description: 'Add location services available at this facility such as transportation, parking, visiting hours, lodging options, food options, etc. Do not use this for benefit services.'
required_fields: true
group_benefit_office_overview:
children:
- field_cc_vba_facility_overview
label: 'Benefit office overview'
region: content
parent_name: ''
weight: 2
format_type: tooltip
format_settings:
show_empty_fields: '1'
show_label: '0'
tooltip_description: "Why can’t I edit this?\r\nNational editors keep this content standardized to provide consistent messaging for facilities nationwide."
description: ''
required_fields: '1'
id: ''
classes: centralized
element: div
label_element: h3
attributes: ''
group_benefits_hotline:
children:
- field_cc_benefits_hotline
label: 'Benefits hotline'
region: content
parent_name: ''
weight: 6
format_type: tooltip
format_settings:
show_empty_fields: 0
id: ''
classes: centralized
element: div
show_label: '0'
label_element: h3
required_fields: 1
attributes: ''
description: ''
tooltip_description: "Why can’t I edit this?\r\nInternational editors keep this content standardized to provide consistent messaging for facilities nationwide."
open: false
group_benefit_office_hours_vary:
children:
- field_cc_benefit_office_hours_va
label: 'Benefit office hours may vary'
region: content
parent_name: ''
weight: 5
format_type: tooltip
format_settings:
show_empty_fields: 0
id: ''
classes: centralized
element: div
show_label: '0'
label_element: h3
required_fields: 1
attributes: ''
description: ''
tooltip_description: "Why can’t I edit this? \r\nNational editors keep this content standardized to provide consistent messaging for facilities nationwide."
open: false
group_national_spotlight:
children:
- field_cc_national_spotlight_1
- field_cc_national_spotlight_2
- field_cc_national_spotlight_3
label: 'National spotlight'
region: content
parent_name: ''
weight: 8
format_type: tooltip
format_settings:
show_empty_fields: 0
id: ''
classes: centralized
element: div
show_label: '0'
label_element: h3
required_fields: 1
attributes: ''
description: ''
tooltip_description: "Why can’t I edit this? \r\nNational editors keep this content standardized to provide consistent messaging for facilities nationwide."
open: false
group_can_t_find_benefits:
children:
- field_cc_cant_find_benefits
label: 'Can''t find benefits'
region: content
parent_name: ''
weight: 9
format_type: tooltip
format_settings:
show_empty_fields: 0
id: ''
classes: centralized
element: div
show_label: '0'
label_element: h3
required_fields: 1
attributes: ''
description: ''
tooltip_description: "Why can’t I edit this? \r\nNational editors keep this content standardized to provide consistent messaging for facilities nationwide."
open: false
group_get_updates_from_vba:
children:
- field_cc_get_updates_from_vba
label: 'Get updates from VBA'
region: content
parent_name: ''
weight: 11
format_type: tooltip
format_settings:
show_empty_fields: 0
id: ''
classes: centralized
element: div
show_label: '0'
label_element: h3
required_fields: 1
attributes: ''
description: ''
tooltip_description: "Why can’t I edit this? \r\nNational editors keep this content standardized to provide consistent messaging for facilities nationwide."
open: false
id: node.vba_facility.default
targetEntityType: node
bundle: vba_facility
Expand All @@ -180,6 +310,78 @@ content:
region: content
settings: { }
third_party_settings: { }
field_cc_benefit_office_hours_va:
type: entity_field_fetch_widget
weight: 13
region: content
settings:
show_field_label: '1'
show_link_to_source: '1'
show_source_updated_date: '1'
third_party_settings: { }
field_cc_benefits_hotline:
type: entity_field_fetch_widget
weight: 26
region: content
settings:
show_field_label: '1'
show_link_to_source: '1'
show_source_updated_date: '1'
third_party_settings: { }
field_cc_cant_find_benefits:
type: entity_field_fetch_widget
weight: 11
region: content
settings:
show_field_label: '1'
show_link_to_source: '1'
show_source_updated_date: '1'
third_party_settings: { }
field_cc_get_updates_from_vba:
type: entity_field_fetch_widget
weight: 11
region: content
settings:
show_field_label: '1'
show_link_to_source: '1'
show_source_updated_date: '1'
third_party_settings: { }
field_cc_national_spotlight_1:
type: entity_field_fetch_widget
weight: 10
region: content
settings:
show_field_label: '1'
show_link_to_source: '1'
show_source_updated_date: '1'
third_party_settings: { }
field_cc_national_spotlight_2:
type: entity_field_fetch_widget
weight: 11
region: content
settings:
show_field_label: '1'
show_link_to_source: '1'
show_source_updated_date: '1'
third_party_settings: { }
field_cc_national_spotlight_3:
type: entity_field_fetch_widget
weight: 12
region: content
settings:
show_field_label: '1'
show_link_to_source: '1'
show_source_updated_date: '1'
third_party_settings: { }
field_cc_vba_facility_overview:
type: entity_field_fetch_widget
weight: 2
region: content
settings:
show_field_label: '1'
show_link_to_source: '1'
show_source_updated_date: '1'
third_party_settings: { }
field_facility_locator_api_id:
type: string_textfield
weight: 5
Expand All @@ -203,15 +405,15 @@ content:
third_party_settings: { }
field_intro_text:
type: string_textarea
weight: 8
weight: 3
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_last_saved_by_an_editor:
type: datetime_timestamp
weight: 7
weight: 13
region: content
settings: { }
third_party_settings: { }
Expand All @@ -233,36 +435,36 @@ content:
add_another: ''
field_media:
type: media_library_widget
weight: 9
weight: 4
region: content
settings:
media_types: { }
third_party_settings: { }
field_non_va_location_url:
type: link_default
weight: 13
weight: 15
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_non_va_official_name:
type: string_textfield
weight: 12
weight: 14
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_office:
type: options_select
weight: 14
weight: 16
region: content
settings: { }
third_party_settings: { }
field_office_hours:
type: office_hours_default
weight: 10
weight: 11
region: content
settings:
collapsed: false
Expand All @@ -275,7 +477,7 @@ content:
third_party_settings: { }
field_operating_status_more_info:
type: string_textarea_with_counter
weight: 13
weight: 12
region: content
settings:
rows: 5
Expand All @@ -296,7 +498,7 @@ content:
third_party_settings: { }
field_shared_vha_location:
type: entity_reference_autocomplete
weight: 15
weight: 17
region: content
settings:
match_operator: CONTAINS
Expand All @@ -312,7 +514,7 @@ content:
third_party_settings: { }
field_timezone:
type: tzfield_default
weight: 11
weight: 12
region: content
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ content:
open_text: 'Currently open!'
closed_text: 'Currently closed'
exceptions:
title: 'Exception hours'
restrict_exceptions_to_num_days: 7
date_format: long
title: 'Exception hours'
timezone_field: ''
office_hours_first_day: ''
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ content:
open_text: 'Currently open!'
closed_text: 'Currently closed'
exceptions:
title: 'Exception hours'
restrict_exceptions_to_num_days: 7
date_format: long
title: 'Exception hours'
timezone_field: ''
office_hours_first_day: ''
schema:
Expand Down
Loading
Loading