protected function InstallerKernel::initializeContainer in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Installer/InstallerKernel.php \Drupal\Core\Installer\InstallerKernel::initializeContainer()
Initializes the service container.
Return value
\Symfony\Component\DependencyInjection\ContainerInterface
Overrides DrupalKernel::initializeContainer
File
- core/
lib/ Drupal/ Core/ Installer/ InstallerKernel.php, line 20 - Contains \Drupal\Core\Installer\InstallerKernel.
Class
- InstallerKernel
- Extend DrupalKernel to handle force some kernel behaviors.
Namespace
Drupal\Core\InstallerCode
protected function initializeContainer() {
// Always force a container rebuild.
$this->containerNeedsRebuild = TRUE;
$container = parent::initializeContainer();
return $container;
}