You are here

function _menu_block_block_save in Menu Block 5

Same name and namespace in other branches
  1. 5.2 menu_block.admin.inc \_menu_block_block_save()
  2. 6.2 menu_block.admin.inc \_menu_block_block_save()
  3. 7.3 menu_block.admin.inc \_menu_block_block_save()
  4. 7.2 menu_block.admin.inc \_menu_block_block_save()

Returns the 'save' $op info for hook_block().

File

./menu_block.admin.inc, line 157

Code

function _menu_block_block_save($delta, $edit) {
  variable_set("menu_block_{$delta}_mid", $edit['mid']);
  variable_set("menu_block_{$delta}_level", $edit['level']);
  variable_set("menu_block_{$delta}_depth", $edit['depth']);
  variable_set("menu_block_{$delta}_expanded", $edit['expanded']);
}