1 link.theme.inc theme_link_formatter_link_title_plain($variables)

Formats a link's title as plain text.

File

core/modules/link/link.theme.inc, line 105
Theme functions and preprocessing for Link module output.

Code

function theme_link_formatter_link_title_plain($variables) {
  return empty($variables['element']['title']) ? '' : check_plain($variables['element']['title']);
}