You are here

function install_load_profile in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/includes/install.core.inc \install_load_profile()

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.

1 call to install_load_profile()
install_begin_request in core/includes/install.core.inc
Begins an installation request, modifying the installation state as needed.

File

core/includes/install.core.inc, line 1451
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');
}