summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2014-03-12 09:59:28 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2014-03-12 09:59:28 -0700
commit7c6dbceaaa7f9fe8c5fe80b45da9feb332370799 (patch)
tree4f4ed67f7673aa7738c1e4b32ad4e70b16f1b6c7 /modules/taxonomy
parentb7cab54c528c8abe191edbbb11766a4807acd013 (diff)
downloadbrdo-7c6dbceaaa7f9fe8c5fe80b45da9feb332370799.tar.gz
brdo-7c6dbceaaa7f9fe8c5fe80b45da9feb332370799.tar.bz2
Issue #2182187 by izus: Clarify documentation for taxonomy_vocabulary_delete()
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 25bfa4f94..4191146a4 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -457,7 +457,12 @@ function taxonomy_vocabulary_save($vocabulary) {
}
/**
- * Delete a vocabulary.
+ * Deletes a vocabulary.
+ *
+ * This will update all Taxonomy fields so that they don't reference the
+ * deleted vocabulary. It also will delete fields that have no remaining
+ * vocabulary references. All taxonomy terms of the deleted vocabulary
+ * will be deleted as well.
*
* @param $vid
* A vocabulary ID.