install_select_language
function install_select_language
install_select_language(&$install_state)
Selects which language to use during installation.
Parameters
$install_state: An array of information about the current installation state. The chosen langcode will be added here, if it was not already selected previously, as will a list of all available languages.
Return value
For interactive installations, a form or other page output allowing the language to be selected or providing information about language selection, if a language has not been chosen. Otherwise, an exception is thrown if a language cannot be chosen automatically.
File
- core/includes/install.core.inc, line 1274
- API functions for installing Drupal.
Code
function insta