summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-12-27 21:48:52 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2011-12-27 21:48:52 -0800
commit88593096e33e2ed28ae813c60e304f61c8e31169 (patch)
treef3654b0acd85cad69c98e027f04058eea0174366 /modules/taxonomy
parentccf0dfb01a7edf1e7d9f6bb8daffae4b534b081f (diff)
downloadbrdo-88593096e33e2ed28ae813c60e304f61c8e31169.tar.gz
brdo-88593096e33e2ed28ae813c60e304f61c8e31169.tar.bz2
Issue #1370060 by jvns, chris.leversuch: Add cross-references between taxonomy_vocabulary_load() and taxonomy_vocabulary_machine_name_load().
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 891875b62..8230e7e6a 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1194,6 +1194,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));
@@ -1209,6 +1211,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));