diff options
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 91378c231..31f94fb4d 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -871,7 +871,11 @@ function taxonomy_get_vocabularies() { * Get names for all taxonomy vocabularies. * * @return - * An array of vocabulary ids, names, machine names, keyed by machine name. + * An associative array of objects keyed by vocabulary machine name with + * information about taxonomy vocabularies. Each object has properties: + * - name: The vocabulary name. + * - machine_name: The machine name. + * - vid: The vocabulary ID. */ function taxonomy_vocabulary_get_names() { $names = &drupal_static(__FUNCTION__); |