How do I edit a views field using preprocess before it is rendered to the screen?
Let’s say the field originally outputs something like this:
Note title
now I want to change that adding the number of comments in that node
Node title (4 comments, 1 new)
I know I can achieve this with joining two fields together or altering the template (tpl) files for that particular field but I’d like to learn how to use preprocess function in order to achieve this.
Sponsored by SupremePR