function drupal_installation_attempted
Same name in other branches
- 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
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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.