function profile_module_manager_process_batch in Profile Module Manager 7
Same name and namespace in other branches
- 7.2 profile_module_manager.module \profile_module_manager_process_batch()
1 string reference to 'profile_module_manager_process_batch'
- profile_module_manager_bundle_enable in ./
profile_module_manager.admin.inc - Callback function for admin/settings/bundles/list/enable/%
File
- ./
profile_module_manager.module, line 240 - Alters grouping in admin/modules using hook_system_info_alter
Code
function profile_module_manager_process_batch($modules, &$context) {
// Enable modules.
module_enable($modules);
// Pass bundle name to batch finished function.
foreach ($modules as $module) {
if (strpos($module, '_bundle')) {
$context['results']['bundle'] = $module;
}
}
}