You are here

function getlocations_blocks_set_var in Get Locations 7.2

Same name and namespace in other branches
  1. 7 modules/getlocations_blocks/getlocations_blocks.module \getlocations_blocks_set_var()

Save the getlocations_blocks variables array

Parameters

array $var:

1 call to getlocations_blocks_set_var()
getlocations_blocks_block_save in modules/getlocations_blocks/getlocations_blocks.module
Implements hook_block_save().

File

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

Code

function getlocations_blocks_set_var($var) {
  $defaults = getlocations_blocks_get_var();
  $newvar = getlocations_adjust_vars($defaults, $var);
  variable_set('getlocations_blocks', $newvar);
}