function getlocations_search_block_set_var in Get Locations 7
Same name and namespace in other branches
- 7.2 modules/getlocations_search/getlocations_search.module \getlocations_search_block_set_var()
Save the getlocations_blocks variables array
Parameters
array $var:
1 call to getlocations_search_block_set_var()
- getlocations_search_block_save in modules/
getlocations_search/ getlocations_search.module - Implements hook_block_save().
File
- modules/
getlocations_search/ getlocations_search.module, line 2012 - getlocations_search.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_search_block_set_var($var) {
$defaults = getlocations_search_block_get_var();
$newvar = getlocations_adjust_vars($defaults, $var);
variable_set('getlocations_search_block', $newvar);
}