summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2011-12-28 05:48:30 (GMT)
committerwebchick2011-12-28 05:48:30 (GMT)
commit3cb556e300cf70184f042aa7c37ee98975714c87 (patch)
treedc4064eec95bfd53e7233bd7c840e2ea5c63ed8c
parentc8c5edd32339bcc7ec4f05c5137e3a3c80f07f3a (diff)
Issue #1370060 by jvns, chris.leversuch: Add cross-references between taxonomy_vocabulary_load() and taxonomy_vocabulary_machine_name_load().
-rw-r--r--core/modules/taxonomy/taxonomy.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module
index c495a1e..7fc1578 100644
--- a/core/modules/taxonomy/taxonomy.module
+++ b/core/modules/taxonomy/taxonomy.module
@@ -1226,6 +1226,8 @@ function taxonomy_vocabulary_load_multiple($vids = array(), $conditions = array(
* @return
* The vocabulary object with all of its metadata, if exists, FALSE otherwise.
* Results are statically cached.
+ *
+ * @see taxonomy_vocabulary_machine_name_load()
*/
function taxonomy_vocabulary_load($vid) {
$vocabularies = taxonomy_vocabulary_load_multiple(array($vid));
@@ -1241,6 +1243,8 @@ function taxonomy_vocabulary_load($vid) {
* @return
* The vocabulary object with all of its metadata, if exists, FALSE otherwise.
* Results are statically cached.
+ *
+ * @see taxonomy_vocabulary_load()
*/
function taxonomy_vocabulary_machine_name_load($name) {
$vocabularies = taxonomy_vocabulary_load_multiple(NULL, array('machine_name' => $name));