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

Reference: https://www.drupal.org/core/beta-changes
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()
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

arpitr’s picture

Issue summary: View changes
arpitr’s picture

Assigned: arpitr » Unassigned
Priority: Normal » Minor
Status: Active » Needs review
FileSize
597 bytes

Patch to remove the deprecated function definiton.

andypost’s picture

Priority: Minor » Normal
Status: Needs review » Reviewed & tested by the community
andypost’s picture

xjm’s picture

Version: 8.0.0-beta7 » 8.0.x-dev
alexpott’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs change record

This a Drupal 7 function - either some change record needs updating or one needs creating

alexpott’s picture

Issue tags: -Needs change record

Actually 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.

Mile23’s picture

Title: Remove deprecated function drupal_pre_render_link() definition » @deprecate drupal_pre_render_link() for Drupal 9
Issue summary: View changes
FileSize
574 bytes

Updated the issue summary, and here's a patch.

Mile23’s picture

Status: Needs work » Needs review

oops.

JeroenT’s picture

Status: Needs review » Reviewed & tested by the community
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 34d780b and pushed to 8.0.x. Thanks!

  • alexpott committed 34d780b on 8.0.x
    Issue #2452491 by arpitr, Mile23: @deprecate drupal_pre_render_link()...

Status: Fixed » Needs work

The last submitted patch, 8: 2452491_8.patch, failed testing.

alexpott’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.