taxonomy_vocabulary_load
- Versions
- 6 – 7
taxonomy_vocabulary_load($vid)
Return the vocabulary object matching a vocabulary ID.
Parameters
$vid The vocabulary's ID.
Return value
The vocabulary object with all of its metadata, if exists, FALSE otherwise. Results are statically cached.
Code
modules/taxonomy/taxonomy.module, line 848
<?php
function taxonomy_vocabulary_load($vid) {
return reset(taxonomy_vocabulary_load_multiple(array($vid)));
}
?>Login or register to post comments 