diff --git a/core/modules/locale/src/LocaleTranslationManager.php b/core/modules/locale/src/LocaleTranslationManager.php index 74c4626159..a0c07248ce 100644 --- a/core/modules/locale/src/LocaleTranslationManager.php +++ b/core/modules/locale/src/LocaleTranslationManager.php @@ -52,6 +52,13 @@ public function __construct(TranslationManager $decorated_manager, PluralFormula $this->languageManager = $language_manager; } + /** + * {@inheritdoc} + */ + public function addTranslator(TranslatorInterface $translator, $priority = 0) { + return $this->decoratedManager->addTranslator($translator, $priority); + } + /** * {@inheritdoc} */