| 7 install.core.inc | install_system_module(&$install_state) |
Installation task; install the Drupal system module.
Parameters
$install_state: An array of information about the current installation state.
1 string reference to 'install_system_module'
- install_tasks in includes/
install.core.inc - Returns a list of all tasks the installer currently knows about.
File
- includes/
install.core.inc, line 765 - API functions for installing Drupal.
Code
function install_system_module(&$install_state) {
// Install system.module.
drupal_install_system();
// Enable the user module so that sessions can be recorded during the
// upcoming bootstrap step.
module_enable(array('user'), FALSE);
// Save the list of other modules to install for the upcoming tasks.
// variable_set() can be used now that system.module is installed.
$modules = $install_state['profile_info']['dependencies'];
// The installation profile is also a module, which needs to be installed
// after all the dependencies have been installed.
$modules[] = drupal_get_profile();
variable_set('install_profile_modules', array_diff($modules, array('system')));
$install_state['database_tables_exist'] = TRUE;
}