install.core.inc

Version 1.5 (checked in on 2010/03/17 at 14:04:38 by dries)

API functions for installing Drupal.

Constants

NameDescription
INSTALL_TASK_RUN_IF_NOT_COMPLETEDGlobal flag to indicate that a task should be run on each installation request that reaches it, until the database is set up and we are able to record the fact that it already ran.
INSTALL_TASK_RUN_IF_REACHEDGlobal flag to indicate that a task should be run on each installation request that reaches it.
INSTALL_TASK_SKIPGlobal flag to indicate that a task should not be run during the current installation request.

Functions

NameDescription
install_already_done_errorIndicate that Drupal has already been installed.
install_begin_requestBegin an installation request, modifying the installation state as needed.
install_bootstrap_fullInstallation task; perform a full bootstrap of Drupal.
install_check_requirementsCheck installation requirements and report any errors.
install_configure_formInstallation task; configure settings for the new site.
install_configure_form_submitForm API submit for the site configuration form.
install_configure_form_validateForm API validate for the site configuration form.
install_database_errorsCheck a database connection and return any errors.
install_display_outputDisplay themed installer output and end the page request.
install_drupalInstall Drupal either interactively or via an array of passed-in settings.
install_find_localesFind all .po files for the current profile.
install_find_profilesFind all .profile files.
install_finishedInstallation task; perform final steps and display a 'finished' page.
install_full_redirect_urlReturn the complete URL that should be redirected to during an installation request.
install_import_localesInstallation task; import languages via a batch process.
install_import_locales_remainingInstallation task; import remaining languages via a batch process.
install_load_profileInstallation task; load information about the chosen profile.
install_no_profile_errorIndicate that there are no profiles available.
install_profile_modulesInstallation task; install required modules via a batch process.
install_redirect_urlReturn the URL that should be redirected to during an installation request.
install_run_taskRun an individual installation task.
install_run_tasksRun all tasks for the current installation request.
install_select_localeInstallation task; select which locale to use for the current profile.
install_select_locale_formForm API array definition for language selection.
install_select_profileInstallation task; select which profile to install.
install_select_profile_formForm API array definition for the profile selection form.
install_settings_formInstallation task; define a form to configure and rewrite settings.php.
install_settings_form_submitForm API submit for install_settings form.
install_settings_form_validateForm API validate for install_settings form.
install_state_defaultsReturn an array of default settings for the global installation state.
install_system_moduleInstallation task; install the Drupal system module.
install_tasksReturn a list of all tasks the installer currently knows about.
install_tasks_to_displayReturn a list of tasks that should be displayed to the end user.
install_tasks_to_performReturn a list of tasks to perform during the current installation request.
install_verify_completed_taskVerify and return the last installation task that was completed.
install_verify_pdoVerify PDO library.
install_verify_requirementsInstallation task; verify the requirements for installing Drupal.
install_verify_settingsVerify existing settings.php
_install_configure_formForm API array definition for site configuration.
_install_module_batchBatch callback for batch installation of modules.
_install_select_profileHelper function for automatically selecting an installation profile from a list or from a selection passed in via $_POST.