function getdirections_fromto_load in Get Directions 6.2
Same name and namespace in other branches
- 6 getdirections.module \getdirections_fromto_load()
- 7.3 getdirections.module \getdirections_fromto_load()
- 7.2 getdirections.module \getdirections_fromto_load()
menu placeholder functions
File
- ./
getdirections.module, line 161 - Fetches google map directions.
Code
function getdirections_fromto_load($arg) {
$allowed = array(
'from',
'to',
);
return in_array($arg, $allowed) ? $arg : FALSE;
return $arg;
}