You are here

function email_token_list in Email Field 6

Same name and namespace in other branches
  1. 5 email.module \email_token_list()
  2. 6.2 email.module \email_token_list()

Implementation of hook token_list

File

./email.module, line 449

Code

function email_token_list($type = 'all') {
  if ($type == 'field' || $type == 'all') {
    $tokens['email']['raw'] = t('Raw email address');
    $tokens['email']['formatted'] = t('Formatted email address');
    return $tokens;
  }
}