You are here

function getlocations_search_block_save in Get Locations 7.2

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

Implements hook_block_save().

This hook declares how the configured options for a block provided by this module are saved.

File

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

Code

function getlocations_search_block_save($delta = '', $edit = array()) {

  // We need to save settings from the configuration form.
  // $delta contains the block name.
  $set = array();
  switch ($delta) {
    case 'getlocations_search_block':
      if (isset($edit['getlocations_search_block_defaults'])) {
        getlocations_search_block_set_var($edit['getlocations_search_block_defaults']);
      }
      break;
  }
}