Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
There is unnesassary early rendering in template_preprocess_table(). Found by @pwolanin in #2502781: Remove SafeMarkup::set in template_preprocess_file_widget_multiple()
Proposed resolution
Just remove them and let Twig deal with them on print.
Remaining tasks
User interface changes
API changes
Follow-up to #2502781: Remove SafeMarkup::set in template_preprocess_file_widget_multiple()
Comments
Comment #1
joelpittetDuplicate of #2505469: Remove drupal_render() calls from template_preprocess_table()