You are here

function taxonomy_get_vocabularies in Drupal 7

Same name and namespace in other branches
  1. 4 modules/taxonomy.module \taxonomy_get_vocabularies()
  2. 5 modules/taxonomy/taxonomy.module \taxonomy_get_vocabularies()
  3. 6 modules/taxonomy/taxonomy.module \taxonomy_get_vocabularies()

Return an array of all vocabulary objects.

Return value

An array of all vocabulary objects, indexed by vid.

11 calls to taxonomy_get_vocabularies()
TaxonomyVocabularyFunctionalTest::testTaxonomyAdminChangingWeights in modules/taxonomy/taxonomy.test
Changing weights on the vocabulary overview with two or more vocabularies.
TaxonomyVocabularyFunctionalTest::testTaxonomyAdminDeletingVocabulary in modules/taxonomy/taxonomy.test
Deleting a vocabulary.
TaxonomyVocabularyFunctionalTest::testTaxonomyAdminNoVocabularies in modules/taxonomy/taxonomy.test
Test the vocabulary overview with no vocabularies.
TaxonomyVocabularyTestCase::testTaxonomyVocabularyDeleteWithTerms in modules/taxonomy/taxonomy.test
Test deleting a taxonomy that contains terms.
TaxonomyVocabularyTestCase::testTaxonomyVocabularyLoadMultiple in modules/taxonomy/taxonomy.test
Tests for loading multiple vocabularies.

... See full list

File

modules/taxonomy/taxonomy.module, line 986
Enables the organization of content into categories.

Code

function taxonomy_get_vocabularies() {
  return taxonomy_vocabulary_load_multiple(FALSE, array());
}