install_run_tasks

install_run_tasks(&$install_state) Runs all tasks for the current installation request. In the case of an interactive installation, all tasks will be attempted until one is reached that has output which needs to be displayed to the user, or until a page redirect is required. Otherwise, tasks will be attempted until the installation is finished. Parameters $install_state: An array of information about the current installation state. This is passed along to each task, so it can be modified i

install_run_task

install_run_task($task, &$install_state) Runs an individual installation task. Parameters $task: An array of information about the task to be run as returned by hook_install_tasks(). $install_state: An array of information about the current installation state. This is passed in by reference so that it can be modified by the task. Return value The output of the task function, if there is any. File core/includes/install.core.inc, line 578 API functions for installing Drupal. Code function

install_retrieve_file

install_retrieve_file($uri, $destination) Attempts to get a file using a HTTP request and to store it locally. Parameters string $uri: The URI of the file to grab. string $destination: Stream wrapper URI specifying where the file should be placed. If a directory path is provided, the file is saved into that directory under its original name. If the path contains a filename as well, that one will be used instead. Return value bool TRUE on success, FALSE on failure. File core/includes/install.c

install_redirect_url

install_redirect_url($install_state) Returns the URL that should be redirected to during an installation request. The output of this function is suitable for sending to install_goto(). Parameters $install_state: An array of information about the current installation state. Return value The URL to redirect to. See also install_full_redirect_url() File core/includes/install.core.inc, line 929 API functions for installing Drupal. Code function install_redirect_url($install_state) { return '

install_profile_themes

install_profile_themes(&$install_state) Installs themes. This does not use a batch, since installing themes is faster than modules and because an installation profile typically installs 1-3 themes only (default theme, base theme, admin theme). Parameters $install_state: An array of information about the current installation state. File core/includes/install.core.inc, line 1538 API functions for installing Drupal. Code function install_profile_themes(&$install_state) { // Install th

install_profile_modules

install_profile_modules(&$install_state) Installs required modules via a batch process. Parameters $install_state: An array of information about the current installation state. Return value The batch definition. File core/includes/install.core.inc, line 1472 API functions for installing Drupal. Code function install_profile_modules(&$install_state) { // We need to manually trigger the installation of core-provided entity types, // as those will not be handled by the module insta

install_profile_info

install_profile_info($profile, $langcode = 'en') Retrieves information about an installation profile from its .info.yml file. The information stored in a profile .info.yml file is similar to that stored in a normal Drupal module .info.yml file. For example: name: The real name of the installation profile for display purposes. description: A brief description of the profile. dependencies: An array of shortnames of other modules that this install profile requires. Additional, less commonly-u

install_load_profile

install_load_profile(&$install_state) Loads information about the chosen profile during installation. Parameters $install_state: An array of information about the current installation state. The loaded profile information will be added here. File core/includes/install.core.inc, line 1446 API functions for installing Drupal. Code function install_load_profile(&$install_state) { $profile = $install_state['parameters']['profile']; $install_state['profiles'][$profile]->load(); $

install_install_profile

install_install_profile(&$install_state) Installs the install profile. Parameters $install_state: An array of information about the current installation state. File core/includes/install.core.inc, line 1554 API functions for installing Drupal. Code function install_install_profile(&$install_state) { \Drupal::service('module_installer')->install(array(drupal_get_profile()), FALSE); // Install all available optional config. During installation the module order // is determined

install_import_translations

install_import_translations(&$install_state) Imports languages via a batch process during installation. Parameters $install_state: An array of information about the current installation state. Return value The batch definition, if there are language files to import. File core/includes/install.core.inc, line 1627 API functions for installing Drupal. Code function install_import_translations(&$install_state) { \Drupal::moduleHandler()->loadInclude('locale', 'translation.inc');