diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2012-04-02 13:49:29 -0700 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2012-04-02 13:49:29 -0700 |
commit | 1775766e3495d6aa905aec90752ce2c44bf62a2f (patch) | |
tree | 807d9f61f2446561a25c743e23cec48fd4bc8625 /modules/taxonomy | |
parent | 71d1142b5f96520ca7f380ecd5398e8b5429528d (diff) | |
download | brdo-1775766e3495d6aa905aec90752ce2c44bf62a2f.tar.gz brdo-1775766e3495d6aa905aec90752ce2c44bf62a2f.tar.bz2 |
Issue #1504226 by kim.pepper: Add detail to return value docs of taxonomy_vocabulary_get_names
Diffstat (limited to 'modules/taxonomy')
-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__); |