From 11823b79cf9398423678e6e6865eb79c6df06ff1 Mon Sep 17 00:00:00 2001 From: Edmund Dunn Date: Fri, 3 Nov 2023 09:45:00 -0700 Subject: [PATCH] VACMS-15962: final fix --- .../src/EventSubscriber/MediaEventSubscriber.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/docroot/modules/custom/va_gov_media/src/EventSubscriber/MediaEventSubscriber.php b/docroot/modules/custom/va_gov_media/src/EventSubscriber/MediaEventSubscriber.php index e90cd3e07e..7f78cdc0a8 100644 --- a/docroot/modules/custom/va_gov_media/src/EventSubscriber/MediaEventSubscriber.php +++ b/docroot/modules/custom/va_gov_media/src/EventSubscriber/MediaEventSubscriber.php @@ -4,7 +4,6 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\Core\StringTranslation\StringTranslationTrait; -use Drupal\Core\StringTranslation\TranslationInterface; use Drupal\core_event_dispatcher\Event\Form\FormAlterEvent; use Drupal\core_event_dispatcher\FormHookEvents; use Drupal\field_event_dispatcher\Event\Field\WidgetSingleElementFormAlterEvent; @@ -29,18 +28,6 @@ class MediaEventSubscriber implements EventSubscriberInterface { */ const COUNT_HTML = FALSE; - /** - * Constructs the EventSubscriber object. - * - * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation - * The string translation service. - */ - public function __construct( - TranslationInterface $string_translation - ) { - $this->stringTranslation = $string_translation; - } - /** * {@inheritdoc} */