diff --git a/scripts/content/vacms-17696/VACMS-17696-vba-test-data-processor.php b/scripts/content/vacms-17696/VACMS-17696-vba-test-data-processor.php index 6b83fc1bf0..fc00c4d28e 100644 --- a/scripts/content/vacms-17696/VACMS-17696-vba-test-data-processor.php +++ b/scripts/content/vacms-17696/VACMS-17696-vba-test-data-processor.php @@ -553,8 +553,8 @@ function update_vba_facility_node($data) { $node->field_operating_status_facility->value = $data[7]; $node->field_operating_status_more_info->value = $data[8]; add_prepare_for_your_visit_to_facility($node, $data[9]); - // add_media_to_facility($node, $data[12]); - // add_spotlights_to_facility($node, $data[13], $data[16]); + add_media_to_facility($node, $data[12]); + add_spotlights_to_facility($node, $data[13], $data[16]); save_node_revision($node, "Updated for VBA test data", TRUE); } @@ -747,6 +747,7 @@ function add_spotlights_to_facility($node, $number_of_spotlights, $use_cta) { $spotlight->field_cta->appendItem($cta); $spotlight->save(); $node->field_local_spotlight->appendItem($spotlight); + $node->save(); } } diff --git a/scripts/content/vacms-17696/VACMS-17696-vba-test-data-source-facilities.csv b/scripts/content/vacms-17696/VACMS-17696-vba-test-data-source-facilities.csv index dce17ca730..8fdae5139d 100644 --- a/scripts/content/vacms-17696/VACMS-17696-vba-test-data-source-facilities.csv +++ b/scripts/content/vacms-17696/VACMS-17696-vba-test-data-source-facilities.csv @@ -1,6 +1,7 @@ Facility name,facility_nid,field_show_banner,field_alert_type,field_dismissible_option,field_banner_title,field_banner_content,field_operating_status_facility,field_operating_status_more_info,field_prepare_for_visit (accordion),field_header,field_rich_wysiwyg,field_media (id),field_local_spotlight (featured_content),field_section_header,field_description,field_cta (button),field_button_link,field_button_label -Integrated Disability Evaluation System (IDES) Site at Joint Base San Antonio-Lackland,67786,,,,,,NULL,NULL,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL -Integrated Disability Evaluation System (IDES) Site at Joint Base San Antonio- Ft Sam Houston,67787,1,information,dismiss,Banner alert headline (also known as field_banner_title) for the VBA satellite office at Athens VA Clinic,"President Lincoln’s words have stood the test of time, and stand today as a solemn reminder of VA’s commitment to care for those injured in our nation’s defense and the families of those killed in its service. On March 16, 2023, VA announced an updated version of its 1959 mission statement. The new motto will still be based on President Abraham Lincoln's words but instead reads: ""To fulfill President Lincoln's promise to care for those who have served in our nation's military and for their families, caregivers, and survivors.""",normal,NULL,0,,,,0,,,,, -VA Regional Benefit Satellite Office at Dallas VA Medical Center,68617,0,,,,,notice,Be advised: the Fort's been swarmed by walkers.,1,,,33234,1,,,1,, -VA Regional Benefit Satallite Office at Anoka Vet Center,68616,0,,,,,limited,We have a lot going on right now. We will be available on a limited based.,2,,,,2,,,0,, -VA Regional Benefit Satellite Office at El Paso VA Clinic,60265,1,warning,perm,Banner alert headline (also known as field_banner_title) for the VBA Regional office in Reno,"The new mission statement acknowledges all who have served in our nation’s military, as well as Veteran families, caregivers, and survivors. VA serves more than 50,000 Veteran caregivers and more than 600,000 Veteran survivors. Additionally, VA serves more than 600,000 women Veterans, the fastest growing cohort of Veterans. Millions of Veterans who did not serve in combat are also served by VA and provided benefits earned through honorable millitary service. There is no greater calling than to care for those who ensured our freedom",closed,The office is temporary closed due to a strain of the fireplace flu. We will let you know when the smoke clears.,3,,,33123,1,,,1,, +VA Regional Benefit Satellite Office at PFC Floyd K. Lindstrom VA Clinic,4170,,,,,,NULL,NULL,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL +Houston VA Regional Benefit Office,4299,1,information,dismiss,Banner alert headline (also known as field_banner_title) for the VBA satellite office at Athens VA Clinic,"President Lincoln’s words have stood the test of time, and stand today as a solemn reminder of VA’s commitment to care for those injured in our nation’s defense and the families of those killed in its service. On March 16, 2023, VA announced an updated version of its 1959 mission statement. The new motto will still be based on President Abraham Lincoln's words but instead reads: ""To fulfill President Lincoln's promise to care for those who have served in our nation's military and for their families, caregivers, and survivors.""",normal,NULL,0,,,,0,,,,, +VA Regional Benefit Satellite Office at North West San Antonio VA Clinic,49096,0,,,,,notice,Be advised: the Fort's been swarmed by walkers.,1,,,33726,1,,,1,, +VA Regional Benefit Satellite Office at Lubbock VA Clinic,4270,0,,,,,limited,We have a lot going on right now. We will be available on a limited based.,2,,,,2,,,0,, +VA Regional Benefit Satellite Office at Fort Worth VA Clinic,4251,1,warning,perm,Banner alert headline (also known as field_banner_title) for the VBA Regional office in Reno,"The new mission statement acknowledges all who have served in our nation’s military, as well as Veteran families, caregivers, and survivors. VA serves more than 50,000 Veteran caregivers and more than 600,000 Veteran survivors. Additionally, VA serves more than 600,000 women Veterans, the fastest growing cohort of Veterans. Millions of Veterans who did not serve in combat are also served by VA and provided benefits earned through honorable millitary service. There is no greater calling than to care for those who ensured our freedom",closed,The office is temporary closed due to a strain of the fireplace flu. We will let you know when the smoke clears.,3,,,33727,1,,,1,, +VA Regional Benefit Satellite Office at Rocky Mountain Regional VA Medical Center,66704,,,,,,NULL,NULL,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL