From 1775766e3495d6aa905aec90752ce2c44bf62a2f Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Mon, 2 Apr 2012 13:49:29 -0700 Subject: Issue #1504226 by kim.pepper: Add detail to return value docs of taxonomy_vocabulary_get_names --- modules/taxonomy/taxonomy.module | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/taxonomy') 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__); -- cgit v1.2.3