From d57d444b8beea40b466eb813e5609b46f5901813 Mon Sep 17 00:00:00 2001 From: OscarMerida Date: Fri, 24 Jan 2025 11:51:38 -0500 Subject: [PATCH] USAGOV-2214-orphaned-description: Get the description from the form object --- .../custom/usa_orphaned_entities/usa_orphaned_entities.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/modules/custom/usa_orphaned_entities/usa_orphaned_entities.module b/web/modules/custom/usa_orphaned_entities/usa_orphaned_entities.module index ff42be3768..3f028dc1c3 100644 --- a/web/modules/custom/usa_orphaned_entities/usa_orphaned_entities.module +++ b/web/modules/custom/usa_orphaned_entities/usa_orphaned_entities.module @@ -35,7 +35,7 @@ function usa_orphaned_entities_form_alter(array &$form, FormStateInterface &$for $reference_data = usa_orphaned_entities_get_reference_data($entity); $markup = "
" . - $entity->getDescription() . "
"; + $delForm->getDescription() . ""; $segway = "T"; // it's a joke about powered scooters $additional = "";