You are here

function theme_link_formatter_absolute in Link 6.2

Theme function for 'absolute' link field formatter.

File

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

Code

function theme_link_formatter_absolute($element) {
  $absolute = array(
    'absolute' => TRUE,
  );
  return empty($element['#item']['url']) ? '' : url($element['#item']['url'], $absolute + $element['#item']);
}