You are here

function drupal_installation_attempted in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/includes/bootstrap.inc \drupal_installation_attempted()

Returns TRUE if a Drupal installation is currently being attempted.

14 calls to drupal_installation_attempted()
ChainedFastBackendFactory::__construct in core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php
Constructs ChainedFastBackendFactory object.
ConfigInstaller::drupalInstallationAttempted in core/lib/Drupal/Core/Config/ConfigInstaller.php
Wrapper for drupal_installation_attempted().
DrupalKernel::handle in core/lib/Drupal/Core/DrupalKernel.php
Handles a Request to convert it to a Response.
drupal_get_profile in core/includes/bootstrap.inc
Gets the name of the currently active installation profile.
drupal_install_profile_distribution_name in core/includes/install.inc
Loads the installation profile, extracting its defined distribution name.

... See full list

File

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

Code

function drupal_installation_attempted() {

  // This cannot rely on the MAINTENANCE_MODE constant, since that would prevent
  // tests from using the non-interactive installer, in which case Drupal
  // only happens to be installed within the same request, but subsequently
  // executed code does not involve the installer at all.
  // @see install_drupal()
  return isset($GLOBALS['install_state']) && empty($GLOBALS['install_state']['installation_finished']);
}