InstallerKernel::initializeContainer

protected InstallerKernel::initializeContainer()

Initializes the service container.

Return value

\Symfony\Component\DependencyInjection\ContainerInterface

Overrides DrupalKernel::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;
  $container = parent::initializeContainer();
  return $container;
}
doc_Drupal
2016-10-29 09:20:52
Comments
Leave a Comment

Please login to continue.