| 6 taxonomy.module | taxonomy_vocabulary_load($vid, |
| 7 taxonomy.module | taxonomy_vocabulary_load($vid) |
| 8 taxonomy.module | taxonomy_vocabulary_load($vid) |
Return the taxonomy vocabulary entity matching a vocabulary ID.
Parameters
int $vid: The vocabulary's ID.
Return value
TaxonomyVocabulary|false The taxonomy vocabulary entity, if exists, FALSE otherwise. Results are statically cached.
See also
taxonomy_vocabulary_machine_name_load()
19 calls to taxonomy_vocabulary_load()
1 string reference to 'taxonomy_vocabulary_load'
File
- core/
modules/ taxonomy/ taxonomy.module, line 998 - Enables the organization of content into categories.
Code
function taxonomy_vocabulary_load($vid) {
return entity_load('taxonomy_vocabulary', $vid);
}
Login or register to post comments