You are here

function location_www_token_list in Location 7.3

Implements hook_token_list().

File

contrib/location_www/location_www.module, line 88
Add www adress fields to Location address.

Code

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