You are here

function theme_link_formatter_short in Link 6.2

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

Theme function for 'short' text field formatter.

File

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

Code

function theme_link_formatter_short($element) {
  return $element['#item']['url'] ? l(t('Link'), $element['#item']['url'], $element['#item']) : '';
}