From b421deab9ce6df1e65dcca66c4b75889cf72174f Mon Sep 17 00:00:00 2001 From: Christia Troyer Date: Mon, 18 Sep 2023 08:35:26 -0700 Subject: [PATCH] VACMS-14793: Rename MenuAlterTrait for clarity --- .../src/EventSubscriber/FormEventSubscriber.php | 4 ++-- .../custom/va_gov_header_footer/src/Traits/MenuFormAlter.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docroot/modules/custom/va_gov_header_footer/src/EventSubscriber/FormEventSubscriber.php b/docroot/modules/custom/va_gov_header_footer/src/EventSubscriber/FormEventSubscriber.php index d7148cf4031..38840b6b06d 100644 --- a/docroot/modules/custom/va_gov_header_footer/src/EventSubscriber/FormEventSubscriber.php +++ b/docroot/modules/custom/va_gov_header_footer/src/EventSubscriber/FormEventSubscriber.php @@ -4,7 +4,7 @@ use Drupal\core_event_dispatcher\Event\Form\FormAlterEvent; use Drupal\core_event_dispatcher\FormHookEvents; -use Drupal\va_gov_header_footer\Traits\MenuFormAlter; +use Drupal\va_gov_header_footer\Traits\MenuFormAlterTrait; use Drupal\va_gov_user\Service\UserPermsService; use Symfony\Component\EventDispatcher\EventSubscriberInterface; @@ -13,7 +13,7 @@ */ class FormEventSubscriber implements EventSubscriberInterface { - use MenuFormAlter; + use MenuFormAlterTrait; /** * The VA user permission service. diff --git a/docroot/modules/custom/va_gov_header_footer/src/Traits/MenuFormAlter.php b/docroot/modules/custom/va_gov_header_footer/src/Traits/MenuFormAlter.php index 2f27229e093..1805e05a817 100644 --- a/docroot/modules/custom/va_gov_header_footer/src/Traits/MenuFormAlter.php +++ b/docroot/modules/custom/va_gov_header_footer/src/Traits/MenuFormAlter.php @@ -5,7 +5,7 @@ /** * Provides centralized menu form alter methods. */ -trait MenuFormAlter { +trait MenuFormAlterTrait { /** * Hides the description field on certain menu link forms.