driven_diff should use theme hooks

Created on 5 August 2010, over 14 years ago
Updated 11 March 2025, about 1 month ago

driven_diff_summary_table inside driven_diff should be a theme function registered through the normal means and accessed using theme(). That way, others can access the variables using MODULE_preprocess_HOOK() before they are fully themed.

This is necessary for me as I am trying to modify how the table at the top of comments (showing the diff) is rendered.

This is a problem throughout driven and comment_driven, but I don't have other specific instances that I can mention at the moment.

Thanks for your hard work on this important module! :)

🐛 Bug report
Status

RTBC

Version

1.0

Component

Theming

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024