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} */