From 8ece9928781deb74f9c19efed8623559ce2ed683 Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Thu, 27 Jun 2024 08:17:49 +0100
Subject: [PATCH] Issue #3456979 by joachim: add a comment to install.core.inc
 about the updated container

(cherry picked from commit a9472458f9f7966d941c390ca3eb93e14564b168)
---
 core/includes/install.core.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc
index 513d985320d2..c7e713b6342d 100644
--- a/core/includes/install.core.inc
+++ b/core/includes/install.core.inc
@@ -426,6 +426,8 @@ function install_begin_request($class_loader, &$install_state) {
   $kernel::bootEnvironment();
   $kernel->setSitePath($site_path);
   $kernel->boot();
+  // Get the new version of the container from the kernel. This is now a
+  // complete container with all services.
   $container = $kernel->getContainer();
   // If Drupal is being installed behind a proxy, configure the request.
   ReverseProxyMiddleware::setSettingsOnRequest($request, Settings::getInstance());
-- 
GitLab