You are here

function closeblock_ajax_callback in Close Block 7

Same name and namespace in other branches
  1. 6 includes/closeblock.api.inc \closeblock_ajax_callback()

Ajax callback function.

1 string reference to 'closeblock_ajax_callback'
closeblock_menu in ./closeblock.module
Implements hook_menu().

File

includes/closeblock.api.inc, line 214
Module settings functions.

Code

function closeblock_ajax_callback($module, $delta) {
  global $theme, $user;
  $current_theme = $theme ? $theme : variable_get('theme_default', 'garland');
  $params = array(
    'uid' => $user->uid,
    'theme' => $current_theme,
    'module' => $module,
    'delta' => $delta,
  );
  closeblock_closing_info_set($params);
}