Skip to content

Commit

Permalink
VACMS-14699: Adding a couple fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
omahane committed Oct 3, 2023
1 parent edee0ce commit 6b31033
Show file tree
Hide file tree
Showing 9 changed files with 251 additions and 22 deletions.
91 changes: 76 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,8 @@ dependencies:
config:
- field.field.node.vba_facility.field_address
- field.field.node.vba_facility.field_administration
- field.field.node.vba_facility.field_cc_benefits_hotline
- 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 +30,7 @@ dependencies:
- address
- change_labels
- content_moderation
- entity_field_fetch
- field_group
- geofield
- limited_field_widgets
Expand Down Expand Up @@ -63,7 +66,7 @@ third_party_settings:
label: 'Section settings'
region: content
parent_name: ''
weight: 5
weight: 7
format_type: details_sidebar
format_settings:
classes: ''
Expand All @@ -80,7 +83,7 @@ third_party_settings:
label: 'Editorial Workflow'
region: content
parent_name: ''
weight: 6
weight: 8
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -93,7 +96,7 @@ third_party_settings:
label: 'Locations and contact information'
region: content
parent_name: ''
weight: 3
weight: 5
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -110,6 +113,7 @@ third_party_settings:
- field_address
- field_geolocation
- field_phone_number
- group_benefits_hotline
- field_office_hours
- field_timezone
- field_non_va_official_name
Expand Down Expand Up @@ -139,7 +143,7 @@ third_party_settings:
label: 'Top of page information'
region: content
parent_name: ''
weight: 2
weight: 4
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -154,7 +158,7 @@ third_party_settings:
label: 'Prepare for your visit'
region: content
parent_name: ''
weight: 4
weight: 6
format_type: details
format_settings:
classes: ''
Expand All @@ -163,6 +167,45 @@ 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: 3
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: group_facility_data
weight: 10
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
id: node.vba_facility.default
targetEntityType: node
bundle: vba_facility
Expand All @@ -180,6 +223,24 @@ content:
region: content
settings: { }
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_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 +264,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: 9
region: content
settings: { }
third_party_settings: { }
Expand All @@ -233,36 +294,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: 14
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_non_va_official_name:
type: string_textfield
weight: 12
weight: 13
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_office:
type: options_select
weight: 14
weight: 15
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 +336,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 +357,7 @@ content:
third_party_settings: { }
field_shared_vha_location:
type: entity_reference_autocomplete
weight: 15
weight: 16
region: content
settings:
match_operator: CONTAINS
Expand All @@ -312,7 +373,7 @@ content:
third_party_settings: { }
field_timezone:
type: tzfield_default
weight: 11
weight: 12
region: content
settings: { }
third_party_settings: { }
Expand Down
70 changes: 63 additions & 7 deletions config/sync/core.entity_view_display.node.vba_facility.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ dependencies:
config:
- field.field.node.vba_facility.field_address
- field.field.node.vba_facility.field_administration
- field.field.node.vba_facility.field_cc_benefits_hotline
- 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 @@ -25,6 +27,7 @@ dependencies:
- node.type.vba_facility
module:
- address
- entity_field_fetch
- entity_reference_revisions
- field_group
- link
Expand Down Expand Up @@ -55,7 +58,7 @@ third_party_settings:
label: 'Locations and contact information'
parent_name: ''
region: content
weight: 2
weight: 4
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -68,6 +71,7 @@ third_party_settings:
- field_facility_locator_api_id
- field_address
- field_phone_number
- group_benefits_hotline
- field_office_hours
- field_timezone
- group_db_data
Expand All @@ -93,7 +97,7 @@ third_party_settings:
label: 'Facility Intro and Photo'
parent_name: ''
region: content
weight: 1
weight: 3
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -118,6 +122,44 @@ third_party_settings:
id: ''
description: ''
description_display: after
group_benefit_office_overview:
children:
- field_cc_vba_facility_overview
label: 'Benefit office overview'
parent_name: ''
region: content
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: ''
id: ''
classes: centralized
element: div
label_element: h3
attributes: ''
group_benefits_hotline:
children:
- field_cc_benefits_hotline
label: 'Benefits hotline'
parent_name: group_facility_data
region: hidden
weight: 6
format_type: tooltip
format_settings:
show_empty_fields: 0
id: ''
classes: centralized
element: div
show_label: '0'
label_element: h3
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
required_fields: false
id: node.vba_facility.default
targetEntityType: node
bundle: vba_facility
Expand All @@ -128,7 +170,21 @@ content:
label: above
settings: { }
third_party_settings: { }
weight: 5
weight: 4
region: content
field_cc_benefits_hotline:
type: entity_field_fetch
label: above
settings: { }
third_party_settings: { }
weight: 16
region: content
field_cc_vba_facility_overview:
type: entity_field_fetch
label: above
settings: { }
third_party_settings: { }
weight: 1
region: content
field_facility_locator_api_id:
type: string
Expand All @@ -143,7 +199,7 @@ content:
label: above
settings: { }
third_party_settings: { }
weight: 7
weight: 14
region: content
field_location_services:
type: entity_reference_revisions_entity_view
Expand All @@ -152,7 +208,7 @@ content:
view_mode: default
link: ''
third_party_settings: { }
weight: 3
weight: 5
region: content
field_media:
type: entity_reference_entity_view
Expand All @@ -161,7 +217,7 @@ content:
view_mode: default
link: true
third_party_settings: { }
weight: 8
weight: 15
region: content
field_non_va_location_url:
type: link
Expand Down Expand Up @@ -243,7 +299,7 @@ content:
settings:
title: ''
third_party_settings: { }
weight: 6
weight: 5
region: content
field_shared_vha_location:
type: entity_reference_label
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ dependencies:
- core.entity_view_mode.node.external_content
- field.field.node.vba_facility.field_address
- field.field.node.vba_facility.field_administration
- field.field.node.vba_facility.field_cc_benefits_hotline
- 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 Down Expand Up @@ -233,6 +235,8 @@ content:
hidden:
content_moderation_control: true
field_administration: true
field_cc_benefits_hotline: true
field_cc_vba_facility_overview: true
field_intro_text: true
field_last_saved_by_an_editor: true
field_location_services: true
Expand Down
Loading

0 comments on commit 6b31033

Please sign in to comment.