function _enable_biblio_keyword_vocabulary in Bibliography Module 7
Same name and namespace in other branches
- 6 biblio.install \_enable_biblio_keyword_vocabulary()
- 7.2 biblio.install \_enable_biblio_keyword_vocabulary()
File
- ./
biblio.install, line 260
Code
function _enable_biblio_keyword_vocabulary() {
// @todo taxonomy.
/*
if ($vocabulary = taxonomy_vocabulary_load(variable_get('biblio_keyword_vocabulary', 0))) {
// Existing install. Add back forum node type, if the biblio
// vocabulary still exists. Keep all other node types intact there.
$vocabulary = (array) $vocabulary;
$vocabulary['nodes']['biblio'] = 1;
taxonomy_save_vocabulary($vocabulary);
}
return $vocabulary['vid'];
*/
}