How would I get taxonomy info using the taxonomy term ID, in order to theme it?
-
16-10-2019 - |
Question
I need to be able to extract a taxonomy array and use it to create links.
Solution
taxonomy_term_load() looks promising.
Return the term object matching a term ID.
Parameters
$tid
A term's IDReturn value
A term object. Results are statically cached.
Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange