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
The function drupal_pre_render_link() is marked as @deprecated, but doesn't specify whether it's deprecated for D8 or D9.
Proposed resolution
Based on maintainer's comments in #7, this function should be marked as deprecated for D9.
@deprecated in Drupal 8.x, will be removed before Drupal 9.0.
Remaining tasks
User interface changes
API changes
Beta phase evaluation
Issue category | Task because things aren't broken, just in need of deprecation. |
---|---|
Issue priority | Normal because we could leave this in and it wouldn't change much. |
Prioritized changes | This issue clarifies the deprecation status of drupal_pre_render_link() |
Comment | File | Size | Author |
---|---|---|---|
#8 | 2452491_8.patch | 574 bytes | Mile23 |
#2 | drupal-remove-deprecated-function-drupal_pre_render_link-2452491-1.patch | 597 bytes | arpitr |
Comments
Comment #1
arpitr CreditAttribution: arpitr commentedComment #2
arpitr CreditAttribution: arpitr commentedPatch to remove the deprecated function definiton.
Comment #3
andypostComment #4
andypostComment #5
xjmComment #6
alexpottThis a Drupal 7 function - either some change record needs updating or one needs creating
Comment #7
alexpottActually given that this was not marked for 8.x removal lets just update the comment to say it will be removed in 9.0.0. No unnecessary API changes we're in beta.
Comment #8
Mile23Updated the issue summary, and here's a patch.
Comment #9
Mile23oops.
Comment #10
JeroenTComment #11
alexpottCommitted 34d780b and pushed to 8.0.x. Thanks!
Comment #14
alexpott