function varbase_install_finished in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 7.3
Finishes importing files at end of installation.
Parameters
$install_state: An array of information about the current installation state.
Return value
A message informing the user that the installation is complete.
1 string reference to 'varbase_install_finished'
- varbase_install_tasks_alter in ./
varbase.install - Implements hook_install_tasks_alter().
File
- ./
varbase.install, line 118
Code
function varbase_install_finished(&$install_state) {
drupal_static_reset();
drupal_get_schema(NULL, TRUE);
// Remember the profile which was used.
variable_set('install_profile', drupal_get_profile());
// Installation profiles are always loaded last
db_update('system')
->fields(array(
'weight' => 1000,
))
->condition('type', 'module')
->condition('name', drupal_get_profile())
->execute();
$batch = _varbase_install_batch_finished();
return $batch;
}