You are here

function nice_menus_block_save in Nice Menus 7.3

Same name and namespace in other branches
  1. 7.2 nice_menus.module \nice_menus_block_save()

Implements hook_block_save().

File

./nice_menus.module, line 221
Module to enable CSS dropdown and flyout menus.

Code

function nice_menus_block_save($delta, $edit) {
  variable_set('nice_menus_name_' . $delta, $edit['nice_menus_name_' . $delta]);
  variable_set('nice_menus_menu_' . $delta, $edit['nice_menus_menu_' . $delta]);
  variable_set('nice_menus_depth_' . $delta, $edit['nice_menus_depth_' . $delta]);
  variable_set('nice_menus_type_' . $delta, $edit['nice_menus_type_' . $delta]);
  variable_set('nice_menus_respect_expand_' . $delta, $edit['nice_menus_respect_expand_' . $delta]);
}