You are here

function theme_email_formatter_contact in Email Field 6

Theme function for 'contact' email field formatter.

File

./email.module, line 147

Code

function theme_email_formatter_contact($element) {
  return !empty($element['#item']['safe']) ? l(t('Email contact form'), 'email/' . $element['#node']->nid . '/' . $element['#field_name']) : '';
}