function getlocations_get_path_from_entity_type in Get Locations 7.2
File
- ./
getlocations.module, line 2433 - getlocations.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_get_path_from_entity_type($entity_type) {
$path = $entity_type;
// entity_type => getlocations path
$aliases = array(
'taxonomy_term' => 'term',
);
if (isset($aliases[$entity_type])) {
$path = $aliases[$entity_type];
}
return $path;
}