drupal_pre_render_link

function drupal_pre_render_link

drupal_pre_render_link($element)

#pre_render callback to render a link into #markup.

Doing so during pre_render gives modules a chance to alter the link parts.

Parameters

$elements: A structured array whose keys form the arguments to l():

  • #title: The link text to pass as argument to l().
  • #href: The URL path component to pass as argument to 登录查看完整内容