You are here

protected function DrupalKernel::getContainerBuilder in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getContainerBuilder()

Gets a new ContainerBuilder instance used to build the service container.

Return value

ContainerBuilder

1 call to DrupalKernel::getContainerBuilder()
DrupalKernel::compileContainer in core/lib/Drupal/Core/DrupalKernel.php
Compiles a new service container.

File

core/lib/Drupal/Core/DrupalKernel.php, line 1230
Contains \Drupal\Core\DrupalKernel.

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected function getContainerBuilder() {
  return new ContainerBuilder(new ParameterBag($this
    ->getKernelParameters()));
}