_install_select_profile

function _install_select_profile

_install_select_profile(&$install_state)

Determines the installation profile to use in the installer.

A profile will be selected in the following order of conditions:

  • Only one profile is available.
  • A specific profile name is requested in installation parameters:
    • For interactive installations via request query parameters.
    • For non-interactive installations via install_drupal() settings.
  • A discovered profile that is a distribution. If multiple profiles are distributions, then the first discovered profile will be selected.
  • Only one visible profile is available.

Parameters

array $in