1 taxonomy.module taxonomy_get_parents($tid)

Legacy wrapper to return the parents of a term by TID.

Do not call this function, use taxonomy_term_load_parents() instead.

Deprecated

since 1.0.0

See also

taxonomy_term_load_parents()

https://api.backdropcms.org/node/41635

File

core/modules/taxonomy/taxonomy.module, line 1242
Enables the organization of content into categories.

Code

function taxonomy_get_parents($tid) {
  watchdog_deprecated_function('taxonomy', __FUNCTION__);
  return taxonomy_term_load_parents($tid);
}