public function DrupalKernel::rebuildContainer in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::rebuildContainer()
Force a container rebuild.
Return value
\Symfony\Component\DependencyInjection\ContainerInterface
Overrides DrupalKernelInterface::rebuildContainer
File
- core/
lib/ Drupal/ Core/ DrupalKernel.php, line 1054 - Contains \Drupal\Core\DrupalKernel.
Class
- DrupalKernel
- The DrupalKernel class is the core of Drupal itself.
Namespace
Drupal\CoreCode
public function rebuildContainer() {
// Empty module properties and for them to be reloaded from scratch.
$this->moduleList = NULL;
$this->moduleData = array();
$this->containerNeedsRebuild = TRUE;
return $this
->initializeContainer();
}