You are here

function getdirections_check in Get Directions 7.3

Same name and namespace in other branches
  1. 6.2 getdirections.module \getdirections_check()
  2. 7.2 getdirections.module \getdirections_check()

Check if the config has been run

4 calls to getdirections_check()
getdirections_direction in ./getdirections.module
Function to setup the map and form
getdirections_direction_other in ./getdirections.module
Function to setup the map and form
getdirections_locations in ./getdirections.module
Function to setup the map
getdirections_locations_via in ./getdirections.module
Function to setup the map

File

./getdirections.module, line 1581
Fetches google map directions.

Code

function getdirections_check() {
  $check = variable_get('getdirections_default', 'xxx');
  if ($check == 'xxx') {
    return FALSE;
  }
  return TRUE;
}