install_select_profile

function install_select_profile

install_select_profile(&$install_state)

Selects which profile to install.

Parameters

$install_state: An array of information about the current installation state. The chosen profile will be added here, if it was not already selected previously, as will a list of all available profiles.

Return value

For interactive installations, a form allowing the profile to be selected, if the user has a choice that needs to be made. Otherwise, an exception is thrown if a profile cannot be chosen automatically.

File

core/includes/install.core.inc, line 1163
API functions for installing Drupal.

Code

function install_select_profile(&$install_state) {
  if (empty($install_state['p