function brainstorm_profile_install_tasks_alter in Brainstorm profile 7
Same name and namespace in other branches
- 8 brainstorm_profile.profile \brainstorm_profile_install_tasks_alter()
Implements hook_install_tasks_alter().
File
- ./
brainstorm_profile.profile, line 38 - Enables modules and site configuration for a standard site installation.
Code
function brainstorm_profile_install_tasks_alter(&$tasks, $install_state) {
foreach ($install_state as $state) {
if ($state === 'install_bootstrap_full') {
$source = 'profiles/brainstorm_profile/node_export_assets/';
$res = variable_get('file_public_path', conf_path() . '/files');
brainstorm_profile_recurse_copy($source, $res);
drupal_get_messages();
}
}
}