function drupal_pre_render_link
Same name in other branches
- 7.x includes/common.inc \drupal_pre_render_link()
Pre-render callback: Renders a link into #markup.
Deprecated
in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Render\Element\Link::preRenderLink().
File
-
core/
includes/ common.inc, line 771
Code
function drupal_pre_render_link($element) {
return Link::preRenderLink($element);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.