install.core.inc

API functions for installing Drupal.

File

includes/install.core.inc

Functions

Name Description
install_already_done_error Indicates that Drupal has already been installed.
install_begin_request Begins an installation request, modifying the installation state as needed.
install_bootstrap_full Performs a full bootstrap of Drupal during installation.
install_check_requirements Checks installation requirements and reports any errors.
install_configure_form Form constructor for a form to configure the new site.
install_configure_form_submit Form submission handler for install_configure_form().
install_configure_form_validate Form validation handler for install_configure_form().
install_database_errors Checks a database connection and returns any errors.
install_display_output Displays themed installer output and ends the page request.
install_drupal Installs Drupal either interactively or via an array of passed-in settings.
install_find_locales Find all .po files for the current profile.
install_find_profiles Finds all .profile files.
install_finished Finishes importing files at end of installation.
install_full_redirect_url Returns the complete URL redirected to during an installation request.
install_import_locales Imports languages via a batch process during installation.
install_import_locales_remaining Installation task; import remaining languages via a batch process.
install_load_profile Loads information about the chosen profile during installation.
install_no_profile_error Indicates that there are no profiles available.
install_profile_modules Installs required modules via a batch process.
install_redirect_url Returns the URL that should be redirected to during an installation request.
install_run_task Runs an individual installation task.
install_run_tasks Runs all tasks for the current installation request.
install_select_locale Installation task; select which locale to use for the current profile.
install_select_locale_form Form constructor for the language selection form.
install_select_profile Selects which profile to install.
install_select_profile_form Form constructor for the profile selection form.
install_settings_form Form constructor for a form to configure and rewrite settings.php.
install_settings_form_submit Form submission handler for install_settings_form().
install_settings_form_validate Form validation handler for install_settings_form().
install_state_defaults Returns an array of default settings for the global installation state.
install_system_module Installation task; install the Drupal system module.
install_tasks Returns a list of all tasks the installer currently knows about.
install_tasks_to_display Returns a list of tasks that should be displayed to the end user.
install_tasks_to_perform Returns a list of tasks to perform during the current installation request.
install_verify_completed_task Verifies and returns the last installation task that was completed.
install_verify_pdo Verifies the PDO library.
install_verify_requirements Verifies the requirements for installing Drupal.
install_verify_settings Verifies the existing settings in settings.php.
_install_configure_form Form constructor for a site configuration form.
_install_module_batch Implements callback_batch_operation().
_install_profile_modules_finished Implements callback_batch_finished().
_install_select_profile Selects an installation profile.

Constants

Name Description
INSTALL_TASK_RUN_IF_NOT_COMPLETED Global 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_REACHED Run the task on each installation request until the database is set up.
INSTALL_TASK_SKIP Do not run the task during the current installation request.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!install.core.inc/7.x