1 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://docs.backdropcms.org/node/41635
File
- core/
modules/ taxonomy/ taxonomy.module, line 1337 - Enables the organization of content into categories.
Code
function taxonomy_get_term_by_name($name, $vocabulary = NULL) {
watchdog_deprecated_function('taxonomy', __FUNCTION__);
return taxonomy_term_load_multiple_by_name($name, $vocabulary = NULL);
}