function theme_link_formatter_link_host in Link 7
Theme function for 'host' text field formatter.
File
- ./
link.module, line 1366 - Defines simple link field types.
Code
function theme_link_formatter_link_host($vars) {
$host = @parse_url($vars['element']['url']);
return isset($host['host']) ? check_plain($host['host']) : '';
}