diff --git a/core/modules/system/lib/Drupal/system/Controller/ThemeController.php b/core/modules/system/lib/Drupal/system/Controller/ThemeController.php index 0a15010..3cde841 100644 --- a/core/modules/system/lib/Drupal/system/Controller/ThemeController.php +++ b/core/modules/system/lib/Drupal/system/Controller/ThemeController.php @@ -10,6 +10,7 @@ use Drupal\Core\Config\Config; use Drupal\Core\Controller\ControllerInterface; use Drupal\Core\Routing\PathBasedGeneratorInterface; +use Drupal\Core\StringTranslation\TranslationManager; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; @@ -52,6 +53,7 @@ class ThemeController implements ControllerInterface { public function __construct(Config $config, PathBasedGeneratorInterface $url_generator, TranslationManager $translation_manager) { $this->config = $config; $this->urlGenerator = $url_generator; + $this->translationManager = $translation_manager; } /**