function node_menu_block_delete in Menu Block 7.2
Same name and namespace in other branches
- 7.3 menu_block.module \node_menu_block_delete()
Implements hook_menu_block_delete() on behalf of node.module.
File
- ./
menu_block.module, line 1018 - Provides configurable blocks of menu items.
Code
function node_menu_block_delete(array $config) {
db_delete('block_node_type')
->condition('module', 'menu_block')
->condition('delta', $config['delta'])
->execute();
}