function _drupal_bootstrap_variables

Loads system variables and all enabled bootstrap modules.

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

File

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

Code

function _drupal_bootstrap_variables() {
  global $conf;

  // Load variables from the database, but do not overwrite variables set in settings.php.
  $conf = variable_initialize(isset($conf) ? $conf : array());

  // Load bootstrap modules.
  require_once __DIR__ . '/module.inc';
  Drupal::moduleHandler()
    ->loadBootstrapModules();
}