function _menu_block_block_save in Menu Block 6.2
Same name and namespace in other branches
- 5.2 menu_block.admin.inc \_menu_block_block_save()
- 5 menu_block.admin.inc \_menu_block_block_save()
- 7.3 menu_block.admin.inc \_menu_block_block_save()
- 7.2 menu_block.admin.inc \_menu_block_block_save()
Returns the 'save' $op info for hook_block().
1 call to _menu_block_block_save()
- menu_block_add_block_form_submit in ./
menu_block.admin.inc - Save the new menu block.
File
- ./
menu_block.admin.inc, line 355 - Provides infrequently used functions for menu_block.
Code
function _menu_block_block_save($delta, $edit) {
variable_set("menu_block_{$delta}_title_link", $edit['title_link']);
variable_set("menu_block_{$delta}_admin_title", $edit['admin_title']);
variable_set("menu_block_{$delta}_parent", $edit['parent']);
variable_set("menu_block_{$delta}_level", $edit['level']);
variable_set("menu_block_{$delta}_follow", $edit['follow']);
variable_set("menu_block_{$delta}_depth", $edit['depth']);
variable_set("menu_block_{$delta}_expanded", $edit['expanded']);
variable_set("menu_block_{$delta}_sort", $edit['sort']);
}