UpdateKernel::initializeContainer

protected UpdateKernel::initializeContainer()

Initializes the service container.

Return value

\Symfony\Component\DependencyInjection\ContainerInterface

Overrides DrupalKernel::initializeContainer

File

core/lib/Drupal/Core/Update/UpdateKernel.php, line 36

Class

UpdateKernel
Defines a kernel which is used primarily to run the update of Drupal.

Namespace

Drupal\Core\Update

Code

protected function initializeContainer() {
  // Always force a container rebuild, in order to be able to override some
  // services, see \Drupal\Core\Update\UpdateServiceProvider.
  $this->containerNeedsRebuild = TRUE;
  $container = parent::initializeContainer();
  return $container;
}
doc_Drupal
2016-10-29 09:50:46
Comments
Leave a Comment

Please login to continue.