taxonomy_get_vocabularies

Versions
4.6 – 6
taxonomy_get_vocabularies($type = NULL)
7
taxonomy_get_vocabularies()

Return an array of all vocabulary objects.

Parameters

$type If set, return only those vocabularies associated with this node type.

▾ 6 functions call taxonomy_get_vocabularies()

taxonomy_field_settings_form in modules/taxonomy/taxonomy.module
Implement hook_field_settings_form().
taxonomy_form_all in modules/taxonomy/taxonomy.module
Generate a set of options for selecting a term from all vocabularies.
taxonomy_form_vocabulary_validate in modules/taxonomy/taxonomy.admin.inc
Validation handler for the vocabulary form.
taxonomy_overview_vocabularies in modules/taxonomy/taxonomy.admin.inc
Form builder to list and manage vocabularies.
taxonomy_permission in modules/taxonomy/taxonomy.module
Implement hook_permission().
taxonomy_update_7002 in modules/taxonomy/taxonomy.install
Add vocabulary machine_name column.

Code

modules/taxonomy/taxonomy.module, line 556

<?php
function taxonomy_get_vocabularies() {
  return taxonomy_vocabulary_load_multiple(FALSE, array());
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.