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.
Function drupal_pre_render_html is deprecated and no longer used, so let's remove it.
Beta phase evaluation
Issue category | Task: simple code clean-up. |
---|---|
Issue priority | Not critical: doesn't inhibits the functionality or main purpose of the project. |
Prioritized changes | Prioritized: because it removes unused functionality. |
Comment | File | Size | Author |
---|---|---|---|
remove_drupal_pre_render_html.patch | 574 bytes | JeroenT | |
Comments
Comment #1
heilop CreditAttribution: heilop commentedComment #2
DevElCuy CreditAttribution: DevElCuy commentedComment #3
DevElCuy CreditAttribution: DevElCuy commentedComment #4
miteshmapPatch tested, Applied correctly.
Comment #5
DevElCuy CreditAttribution: DevElCuy commentedFunction declared, no calls, no references in API docs.
Comment #7
webchickI don't see a change record about this, but I think that is fine. It would be highly unusual for a custom/contrib module to call the arbitrary pre-render callback of some element in core.
Removing deprecated functions is explicitly allowed in beta, so committed and pushed to 8.0.x. Thanks!