function DrupalKernel::getContainer

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getContainer()
  2. 10 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getContainer()
  3. 11.x core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getContainer()

Overrides DrupalKernelInterface::getContainer

3 calls to DrupalKernel::getContainer()
UpdateKernel::bootSession in core/lib/Drupal/Core/Update/UpdateKernel.php
Boots up the session.
UpdateKernel::handle in core/lib/Drupal/Core/Update/UpdateKernel.php
UpdateKernel::handleRaw in core/lib/Drupal/Core/Update/UpdateKernel.php
Generates the actual result of update.php.

File

core/lib/Drupal/Core/DrupalKernel.php, line 542

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

public function getContainer() {
    return $this->container;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.