drupal_pre_render_link

drupal_pre_render_link($element)

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 750
Common functions that many Drupal modules will need to reference.

Code

function drupal_pre_render_link($element) {
  return Link::preRenderLink($element);
}
doc_Drupal
2016-10-29 09:03:18
Comments
Leave a Comment

Please login to continue.