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/MenuFormAlterTrait.php similarity index 93% rename from docroot/modules/custom/va_gov_header_footer/src/Traits/MenuFormAlter.php rename to docroot/modules/custom/va_gov_header_footer/src/Traits/MenuFormAlterTrait.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/MenuFormAlterTrait.php @@ -5,7 +5,7 @@ /** * Provides centralized menu form alter methods. */ -trait MenuFormAlter { +trait MenuFormAlterTrait { /** * Hides the description field on certain menu link forms.