function taxonomy_csv_term_get_synonyms in Taxonomy CSV import/export 7.4
Return an array of all synonyms of a given term id or object.
A synonym is not a term, so it hasn't a tid, but only a name. It's a text field and not a term reference. Wrapper of taxonomy_csv_term_get_field_values.
1 call to taxonomy_csv_term_get_synonyms()
- taxonomy_csv_line_export in export/
taxonomy_csv.export.api.inc - Export a term to a line matching the options.
File
- ./
taxonomy_csv.term.api.inc, line 237 - Find, get and set full or detail term items.
Code
function taxonomy_csv_term_get_synonyms($term_tid) {
return taxonomy_csv_term_get_field_values($term_tid, 'taxonomy_synonym');
}