Commit 3cb556e3 authored by webchick's avatar webchick
Browse files

Issue #1370060 by jvns, chris.leversuch: Add cross-references between...

Issue #1370060 by jvns, chris.leversuch: Add cross-references between taxonomy_vocabulary_load() and taxonomy_vocabulary_machine_name_load().
parent c8c5edd3
......@@ -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));
......
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