View source
<?php
function _varbase_install_finished_batch_finished() {
if (!drupal_is_cli()) {
drupal_goto('<front>');
}
}
function _varbase_installer_install($module, $module_name, &$context) {
module_enable(array(
$module,
), FALSE);
$context['message'] = st('Installed %module module.', array(
'%module' => $module_name,
));
}
function _varbase_install_rebuild_features_keys(&$context) {
features_get_info(NULL, NULL, TRUE);
}
function _varbase_install_rebuild_features_defaultconfig_rebuild(&$context) {
defaultconfig_rebuild_all();
}
function _varbase_install_rebuild_features_all(&$context) {
features_rebuild();
features_revert();
}
function _varbase_install_drupal_cc_all(&$context) {
node_access_rebuild(FALSE);
drupal_flush_all_caches();
drupal_get_schema(NULL, TRUE);
drupal_cron_run();
drupal_get_messages(NULL, TRUE);
}