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.
Part of #2006152: [meta] Don't call theme() directly anywhere outside drupal_render().
To Test
- Step 1: Go to views page (under structure).
- Step 2: Enable Tracker
- Step 3: Follow the path
- Step 4: Make sure the time under "last post" is accurate.
Comment | File | Size | Author |
---|---|---|---|
#11 | history-replace_theme_with_drupal_render-2009578-11.patch | 823 bytes | giammi |
#7 | history-replace_theme_with_drupal_render-2009578-7.patch | 830 bytes | giammi |
#2 | history-replace_theme_with_drupal_render-2009578-2.patch | 813 bytes | InternetDevels |
Comments
Comment #1
InternetDevels CreditAttribution: InternetDevels commentedWe are working today with this issue during Code Sprint UA.
Comment #2
InternetDevels CreditAttribution: InternetDevels commentedPatch attached.
Comment #4
thedavidmeister CreditAttribution: thedavidmeister commentedUnfortunately, because #type is actually a reserved key in renderable arrays we'll need to do this first #2010672: Rename 'type' variable of theme_mark to 'status'.
Comment #5
thedavidmeister CreditAttribution: thedavidmeister commentedmark has been fixed and is now #mark_type. This is no longer postponed.
Comment #6
giammi CreditAttribution: giammi commentedtrying...
Comment #7
giammi CreditAttribution: giammi commentedPatch attached
Comment #8
thedavidmeister CreditAttribution: thedavidmeister commentedunfortunately there's a whitespace issue in the patch in #7
Comment #9
thedavidmeister CreditAttribution: thedavidmeister commented#7: history-replace_theme_with_drupal_render-2009578-7.patch queued for re-testing.
Comment #11
giammi CreditAttribution: giammi commentedRemoved trailing spaces
Comment #13
derheap CreditAttribution: derheap commented#11: history-replace_theme_with_drupal_render-2009578-11.patch queued for re-testing.
Comment #15
hussainweb#11: history-replace_theme_with_drupal_render-2009578-11.patch queued for re-testing.
Comment #15.0
adamcowboy CreditAttribution: adamcowboy commentedAdded how to test.
Comment #16
adamcowboy CreditAttribution: adamcowboy commentedI tested it and it worked well. I also made a how to test section.
Comment #17
alexpottCommitted f6367c5 and pushed to 8.x. Thanks!
Comment #18.0
(not verified) CreditAttribution: commentedFixed errors from last post.