diff --git a/core/modules/content_translation/src/ContentTranslationHandler.php b/core/modules/content_translation/src/ContentTranslationHandler.php index 03ad7a59d2..ba0c3b014c 100644 --- a/core/modules/content_translation/src/ContentTranslationHandler.php +++ b/core/modules/content_translation/src/ContentTranslationHandler.php @@ -125,6 +125,7 @@ public function __construct(EntityTypeInterface $entity_type, LanguageManagerInt $this->currentUser = $current_user; $this->fieldStorageDefinitions = $entity_manager->getLastInstalledFieldStorageDefinitions($this->entityTypeId); $this->messenger = $messenger; + $this->dateFormatter = $date_formatter; } /**