You are here

function drupal_pre_render_link in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/includes/common.inc \drupal_pre_render_link()

Pre-render callback: Renders a link into #markup.

Deprecated

in Drupal 8.x, will be removed before Drupal 9.0. Use \Drupal\Core\Render\Element\Link::preRenderLink().

File

core/includes/common.inc, line 751
Common functions that many Drupal modules will need to reference.

Code

function drupal_pre_render_link($element) {
  return Element\Link::preRenderLink($element);
}