API functions for installing Backdrop.

File

core/includes/install.core.inc

Functions

Namesort ascending Description
_install_select_profile Selects an installation profile from a list or from a $_POST submission.
_install_profile_modules_finished 'Finished' callback for module installation batch.
_install_module_batch Batch callback for batch installation of modules.
_install_get_timezone_country Get a country code for the provided timezone.
_install_configure_form Form constructor for a site configuration form.
install_verify_settings Verifies the existing settings in settings.php.
install_verify_requirements Verifies the requirements for installing Backdrop.
install_verify_pdo Verifies the PDO library.
install_verify_database_utf8mb4 Verifies if UTF8 MB4 support is available in the database.
install_verify_completed_task Verifies and returns the last installation task that was completed.
install_tasks_to_perform Returns a list of tasks to perform during the current installation request.
install_tasks_to_display Returns a list of tasks that should be displayed to the end user.
install_tasks Returns a list of all tasks the installer currently knows about.
install_system_module Installation task; install the Backdrop system module.
install_state_defaults Returns an array of default settings for the global installation state.
install_settings_form_validate Form validation handler for install_settings_form().
install_settings_form_submit Form submission handler for install_settings_form().
install_settings_form Form constructor for a form to configure and rewrite settings.php.
install_select_profile_form Form constructor for the profile selection form.
install_select_profile Selects which profile to install.
install_select_language_form Form constructor for the language selection form.
install_select_language Installation task; select which language to use.
install_run_tasks Runs all tasks for the current installation request.
install_run_task Runs an individual installation task.
install_retrieve_file Attempts to get a file using a HTTP request and to store it locally.
install_redirect_url Returns the URL that should be redirected to during an installation request.
install_profile_modules Installs required modules via a batch process.
install_no_profile_error Indicates that there are no profiles available.
install_load_profile Loads information about the chosen profile during installation.
install_import_translations_remaining Installation task; finish importing files at end of installation.
install_import_translations Imports languages via a batch process during installation.
install_hash_salt Installation task; Rewrite settings.php to include hash salt.
install_get_available_translations Provide a list of available translation files.
install_full_redirect_url Returns the complete URL redirected to during an installation request.
install_finished Finishes importing files at end of installation.
install_find_translation_files Find installer translations either for a specific langcode or all languages.
install_find_translations Find all .po files useful for the installer.
install_find_profiles Finds all .profile files.
install_download_translation Download a translation file for the selected language.
install_display_requirements Verifies the requirements for installing Backdrop.
install_display_output Displays themed installer output and ends the page request.
install_database_errors Checks a database connection and returns any errors.
install_config_location Installation task; Ensure config location is empty and writable, and (for config stored in files, rewrite settings.php to include config directories.
install_configure_form_validate Form validation handler for install_configure_form().
install_configure_form_submit Form submission handler for install_configure_form().
install_configure_form Form constructor for a form to configure the new site.
install_check_translation_download Checks installation requirements, downloads a translation, and reports any errors.
install_check_requirements Checks installation requirements and reports any errors.
install_check_localization_server Checks if the localization server can be contacted.
install_bootstrap_full Performs a full bootstrap of Backdrop during installation.
install_begin_request Begins an installation request, modifying the installation state as needed.
install_backdrop Installs Backdrop either interactively or via an array of passed-in settings.
install_already_done_error Indicates that Backdrop has already been installed.

Constants

Namesort ascending Description
INSTALL_TASK_SKIP Do not run the task during the current installation request.
INSTALL_TASK_RUN_IF_REACHED Run the task on each installation request until the database is set up.
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_LOCALIZATION_SERVER_PATTERN The server URL where the interface translation files can be downloaded. Tokens in the pattern will be replaced by appropriate values for the required translation file.
INSTALL_AVAILABLE_TRANSLATIONS_URI The URI used to fetch the list of available translations from the localization server.