diff --git a/docroot/modules/custom/va_gov_home/src/EventSubscriber/FormEventSubscriber.php b/docroot/modules/custom/va_gov_home/src/EventSubscriber/FormEventSubscriber.php index e9b5d1c23a3..a739988e167 100644 --- a/docroot/modules/custom/va_gov_home/src/EventSubscriber/FormEventSubscriber.php +++ b/docroot/modules/custom/va_gov_home/src/EventSubscriber/FormEventSubscriber.php @@ -41,8 +41,8 @@ public function formAlter(FormAlterEvent $event): void { $admin = $this->permsService->hasAdminRole(TRUE); $this->hubMenuFormAlter($form, $admin); } - if ($event->getFormId() === 'menu_link_content_va-gov-footer_form' || $event->getFormId() === 'menu-link-content-footer-bottom-rail-form') { - $this->hideMenuLinkDescriptionField($form, $admin); + if ($event->getFormId() === 'menu_link_content_va-gov-footer_form' || $event->getFormId() === 'menu_link_content_footer-bottom-rail_form') { + $this->hideMenuLinkDescriptionField($form); } }