You are here

function location_email_token_list in Location 7.3

Implements hook_token_list().

File

contrib/location_email/location_email.module, line 96
Add Email address fields to Location address.

Code

function location_email_token_list($type = 'all') {
  if ($type == 'node' || $type == 'user' || $type == 'all') {
    $tokens['location']['location-email_N'] = t('Location Email address (If there are multiple locations per node, N is the iteration, starting with 0)');
    return $tokens;
  }
}