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 1446
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');
}
doc_Drupal
2016-10-29 09:21:02
Comments
Leave a Comment

Please login to continue.