Commit 34d780b4 authored by alexpott's avatar alexpott
Browse files

Issue #2452491 by arpitr, Mile23: @deprecate drupal_pre_render_link() for Drupal 9

parent d06839c5
...@@ -1030,7 +1030,8 @@ function drupal_clear_js_cache() { ...@@ -1030,7 +1030,8 @@ function drupal_clear_js_cache() {
/** /**
* Pre-render callback: Renders a link into #markup. * Pre-render callback: Renders a link into #markup.
* *
* @deprecated Use \Drupal\Core\Render\Element\Link::preRenderLink(). * @deprecated in Drupal 8.x, will be removed before Drupal 9.0.
* Use \Drupal\Core\Render\Element\Link::preRenderLink().
*/ */
function drupal_pre_render_link($element) { function drupal_pre_render_link($element) {
return Element\Link::preRenderLink($element); return Element\Link::preRenderLink($element);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment