You are here

function taxonomy_csv_term_get_parents_tids in Taxonomy CSV import/export 7.4

Same name and namespace in other branches
  1. 6.5 taxonomy_csv.term.api.inc \taxonomy_csv_term_get_parents_tids()
  2. 6.2 taxonomy_csv.term.api.inc \taxonomy_csv_term_get_parents_tids()
  3. 6.3 taxonomy_csv.term.api.inc \taxonomy_csv_term_get_parents_tids()
  4. 6.4 taxonomy_csv.term.api.inc \taxonomy_csv_term_get_parents_tids()

Return an array of all parents term ids of a given term id.

1 call to taxonomy_csv_term_get_parents_tids()
taxonomy_csv_term_find in ./taxonomy_csv.term.api.inc
Find and load a term.

File

./taxonomy_csv.term.api.inc, line 122
Find, get and set full or detail term items.

Code

function taxonomy_csv_term_get_parents_tids($tid) {
  return array_keys(taxonomy_get_parents($tid));
}