summaryrefslogtreecommitdiffstats
path: root/core/includes/install.core.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/includes/install.core.inc')
-rw-r--r--core/includes/install.core.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc
index 86a45f7..8cc661f 100644
--- a/core/includes/install.core.inc
+++ b/core/includes/install.core.inc
@@ -339,6 +339,9 @@ function install_begin_request(&$install_state) {
->addArgument(new Reference('config.storage'))
->addArgument(new Reference('event_dispatcher'));
+ // Register the 'language_manager' service.
+ $container->register('language_manager', 'Drupal\Core\Language\LanguageManager');
+
// The install process cannot use the database lock backend since the database
// is not fully up, so we use a null backend implementation during the
// installation process. This will also speed up the installation process.