function drupal_installation_attempted

7.x bootstrap.inc drupal_installation_attempted()

Returns TRUE if a Drupal installation is currently being attempted.

6 calls to drupal_installation_attempted()
drupal_install_profile_distribution_name in drupal-7.x/includes/install.inc
Loads the installation profile, extracting its defined distribution name.
drupal_redirect_form in drupal-7.x/includes/form.inc
Redirects the user to a URL after a form has been processed.
get_t in drupal-7.x/includes/bootstrap.inc
Returns the name of the proper localization function.
registry_update in drupal-7.x/includes/bootstrap.inc
Updates the registry based on the latest files listed in the database.
shortcut_install in drupal-7.x/modules/shortcut/shortcut.install
Implements hook_install().

... See full list

File

drupal-7.x/includes/bootstrap.inc, line 2605
Functions that need to be loaded on every Drupal request.

Code

function drupal_installation_attempted() {
  return defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'install';
}