function theme_link_formatter_url in Link 6
Same name and namespace in other branches
- 6.2 link.theme.inc \theme_link_formatter_url()
Theme function for 'url' text field formatter.
File
- ./
link.module, line 556 - Defines simple link field types.
Code
function theme_link_formatter_url($element) {
return $element['#item']['url'] ? l($element['#item']['display_url'], $element['#item']['url'], $element['#item']) : '';
}