function location_fax_token_list in Location 7.3
Same name and namespace in other branches
- 5.3 contrib/location_fax/location_fax.module \location_fax_token_list()
- 6.3 contrib/location_fax/location_fax.module \location_fax_token_list()
- 7.5 contrib/location_fax/location_fax.module \location_fax_token_list()
- 7.4 contrib/location_fax/location_fax.module \location_fax_token_list()
Implements hook_token_list().
File
- contrib/
location_fax/ location_fax.module, line 94 - Add fax number fields to Location address.
Code
function location_fax_token_list($type = 'all') {
if ($type == 'node' || $type == 'user' || $type == 'all') {
$tokens['location']['location-fax_N'] = t('Location Fax number (If there are multiple locations per node, N is the iteration, starting with 0)');
return $tokens;
}
}