Commit b4c77c09 authored by jhodgdon's avatar jhodgdon

Issue #1504226 by kim.pepper: Add detail to return value docs of taxonomy_vocabulary_get_names

parent 4a56c0f2
......@@ -682,7 +682,11 @@ function taxonomy_vocabulary_static_reset(array $ids = NULL) {
* 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__);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment