On this page
function 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 1444
- API functions for installing Drupal.
Code
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');
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!install.core.inc/function/install_load_profile/8.1.x