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
1 2 3 4 5 | function install_load_profile(& $install_state ) { $profile = $install_state [ 'parameters' ][ 'profile' ]; $install_state [ 'profiles' ][ $profile ]->load(); $install_state [ 'profile_info' ] = install_profile_info( $profile , isset( $install_state [ 'parameters' ][ 'langcode' ]) ? $install_state [ 'parameters' ][ 'langcode' ] : 'en' ); } |
Please login to continue.