function getlocations_entity_type_load in Get Locations 7
Same name and namespace in other branches
- 7.2 getlocations.module \getlocations_entity_type_load()
sanity check on entity type
Parameters
string $arg Entity type.:
Return value
argument or FALSE
File
- ./
getlocations.module, line 266 - getlocations.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_entity_type_load($arg) {
if (getlocations_check_entity_type($arg)) {
return $arg;
}
return FALSE;
}