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

Returns TRUE if a Drupal installation is currently being attempted.

Deprecated

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Installer\InstallerKernel::installationAttempted() instead.

See also

https://www.drupal.org/node/3035275

1 call to drupal_installation_attempted()
InstallerLegacyTest::testDrupalInstallationAttempted in core/tests/Drupal/KernelTests/Core/Installer/InstallerLegacyTest.php
Tests drupal_installation_attempted().

File

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

Code

function drupal_installation_attempted() {
  @trigger_error('drupal_installation_attempted() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \\Drupal\\Core\\Installer\\InstallerKernel::installationAttempted() instead. See https://www.drupal.org/node/3035275', E_USER_DEPRECATED);
  return InstallerKernel::installationAttempted();
}