Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
In my node, I have a taxonomy field that displays one or more taxonomy terms (as plain text using DS). I want to wrap a CSS class around the term, depending on the term value.
Where is the best place to do this?
I did this in preprocess_taxonomy_term(), and just added to classes_array.
Required, but never shown