You are here

protected function InstallerKernel::initializeContainer in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Installer/InstallerKernel.php \Drupal\Core\Installer\InstallerKernel::initializeContainer()
  2. 9 core/lib/Drupal/Core/Installer/InstallerKernel.php \Drupal\Core\Installer\InstallerKernel::initializeContainer()

File

core/lib/Drupal/Core/Installer/InstallerKernel.php, line 15

Class

InstallerKernel
Extend DrupalKernel to handle force some kernel behaviors.

Namespace

Drupal\Core\Installer

Code

protected function initializeContainer() {

  // Always force a container rebuild.
  $this->containerNeedsRebuild = TRUE;

  // Ensure the InstallerKernel's container is not dumped.
  $this->allowDumping = FALSE;
  $container = parent::initializeContainer();
  return $container;
}