install.core.inc

API functions for installing Drupal.

File

drupal/core/includes/install.core.inc
View source

Functions

Namesort descending Description
install_already_done_error Indicates that Drupal has already been installed.
install_base_system Installation task; install the base functionality Drupal needs to bootstrap.
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_translations Finds all .po files that are useful to the installer.
install_find_translation_files Finds installer translations either for a specific langcode or all languages.
install_finished Performs final installation steps and displays a 'finished' page.
install_full_redirect_url Returns the complete URL redirected to during an installation request.
install_import_translations Imports languages via a batch process during installation.
install_import_translations_remaining Finishes importing files at end of installation.
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_language Selects which language to use during installation.
install_select_language_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_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_database_settings Verifies that settings.php specifies a valid database connection.
install_verify_requirements Verifies the requirements for installing Drupal.
_install_configure_form Form constructor for a site configuration form.
_install_module_batch Batch callback for batch installation of modules.
_install_profile_modules_finished 'Finished' callback for module installation batch.
_install_select_profile Selects an installation profile.

Constants

Namesort descending Description
INSTALL_TASK_RUN_IF_NOT_COMPLETED Run the task on each installation request until the database is set up.
INSTALL_TASK_RUN_IF_REACHED Run the task on each installation request that reaches it.
INSTALL_TASK_SKIP Do not run the task during the current installation request.