You are here

function theme_link_formatter_label in Link 6

Same name and namespace in other branches
  1. 6.2 link.theme.inc \theme_link_formatter_label()

Theme function for 'label' text field formatter.

File

./link.module, line 570
Defines simple link field types.

Code

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