You are here

function getlocations_search_block_get_var in Get Locations 7

Same name and namespace in other branches
  1. 7.2 modules/getlocations_search/getlocations_search.module \getlocations_search_block_get_var()

Load the getlocations_blocks variables array

Return value

array

4 calls to getlocations_search_block_get_var()
getlocations_search_block_configure in modules/getlocations_search/getlocations_search.module
Implements hook_block_configure().
getlocations_search_block_set_var in modules/getlocations_search/getlocations_search.module
Save the getlocations_blocks variables array
getlocations_search_form in modules/getlocations_search/getlocations_search.module
The search form
getlocations_search_getmap in modules/getlocations_search/getlocations_search.module
Set up the map and use getlocations to spit it out

File

modules/getlocations_search/getlocations_search.module, line 2000
getlocations_search.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_search_block_get_var() {
  $defaults = getlocations_search_block_defaults();
  $var = variable_get('getlocations_search_block', $defaults);
  $newvar = getlocations_adjust_vars($defaults, $var);
  return $newvar;
}