Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293850

Allow to use original $variables['topics'] data in TMEMENAME_preprocess_forums

$
0
0

I need to add additional columns to topics list table such as topic views count, las. So I can override ForumManager service and extend it. I replaced getTopics function in my implementation and added additional columns. But I can't render this columns because template_preprocess_forums() function replace data from $variables['topics'] with rendered markup array, so I can't access to added columns in my THEMENAME_preprocess_forums().


Viewing all articles
Browse latest Browse all 293850

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>