You are here

function theme_link_formatter_label in Link 6.2

Same name and namespace in other branches
  1. 6 link.module \theme_link_formatter_label()

Theme function for 'label' text field formatter.

File

./link.theme.inc, line 110
Theme functions for the link module.

Code

function theme_link_formatter_label($element) {
  return $element['#item']['url'] ? l($element['#item']['label'], $element['#item']['url'], $element['#item']) : '';
}