You are here

function smartmenus_block_save in Smartmenus.js 7

Implements hook_block_save().

File

./smartmenus.module, line 116
Integration with the Smartmenus jQuery plugin for responsive menus.

Code

function smartmenus_block_save($delta, $edit) {

  // Save menu instance settings.
  variable_set('smartmenus_menu_' . $delta, $edit['smartmenus_menu_' . $delta]);
  variable_set('smartmenus_orient_' . $delta, $edit['smartmenus_orient_' . $delta]);
  variable_set('smartmenus_toggle_' . $delta, $edit['smartmenus_toggle_' . $delta]);
}