function locationmap_token_info in Location Map 7.2
Implements hook_token_info().
File
- ./
locationmap.module, line 570
Code
function locationmap_token_info() {
$types = array(
'locationmap' => array(
'name' => t('Location map'),
'description' => t('Tokens provided by the Location Map module.'),
),
);
$tokens['latitude'] = array(
'name' => t('Latitude'),
'description' => t('Latitude of map marker.'),
);
$tokens['longitude'] = array(
'name' => t('Longitude'),
'description' => t('Longitude of map marker.'),
);
return array(
'types' => $types,
'tokens' => array(
'locationmap' => $tokens,
),
);
}