You are here

function _biblio_helper_modules in Bibliography Module 7

Same name and namespace in other branches
  1. 7.2 biblio.install \_biblio_helper_modules()
1 call to _biblio_helper_modules()
biblio_update_7000 in ./biblio.install

File

./biblio.install, line 210

Code

function _biblio_helper_modules($mode) {
  $modules = _biblio_get_helper_modules();
  switch ($mode) {
    case 'install':
      module_enable($modules);
      break;
    case 'uninstall':
      foreach ($modules as $module) {
        drupal_uninstall_modules($module);
      }
      break;
  }
}