1.20.x taxonomy.module | taxonomy_get_term_by_name($name, $vocabulary = NULL) |
Legacy wrapper to try to map a string to an existing term.
Do not call this function, use taxonomy_term_load_multiple_by_name() instead.
Deprecated
since 1.0.0
See also
taxonomy_term_load_multiple_by_name()
https://api.backdropcms.org/node/41635
File
- modules/
taxonomy/ taxonomy.module, line 1381 - Enables the organization of content into categories.
Code
function taxonomy_get_term_by_name($name, $vocabulary = NULL) {
watchdog_deprecated_function('taxonomy', __FUNCTION__);
taxonomy_term_load_multiple_by_name($name, $vocabulary = NULL);
}