You are here

function theme_email_formatter_default in Email Field 6

Theme function for 'default' email field formatter.

File

./email.module, line 125

Code

function theme_email_formatter_default($element) {
  return !empty($element['#item']['safe']) ? l($element['#item']['email'], "mailto:" . $element['#item']['email']) : '';
}