function recipe_get_vocabularies in Recipe 5
Gets all the vocabularies that are associated with the recipe module.
Return value
array the vocabularies.
2 calls to recipe_get_vocabularies()
- recipe_get_recipe_terms in ./
recipe.module - Get all the terms associated with Recipes.
- recipe_index in ./
recipe.module - Constructs the recipe index page, using theme functions.
File
- ./
recipe.module, line 1175 - recipe.module - share recipes for drupal 5.x
Code
function recipe_get_vocabularies() {
$vocabularies = module_invoke('taxonomy', 'get_vocabularies', 'recipe');
return $vocabularies;
}