function _drupal_bootstrap_kernel

Initialize the kernel / service container.

1 call to _drupal_bootstrap_kernel()
drupal_bootstrap in drupal/core/includes/bootstrap.inc
Ensures Drupal is bootstrapped to the specified phase.

File

drupal/core/includes/bootstrap.inc, line 2017
Functions that need to be loaded on every Drupal request.

Code

function _drupal_bootstrap_kernel() {

  // Normally, index.php puts a container in drupal_container() by creating a
  // kernel. If there is no container yet, create one.
  if (!drupal_container()) {
    $kernel = new DrupalKernel('prod', FALSE, drupal_classloader());
    $kernel
      ->boot();
  }
}