You are here

function node_menu_block_delete in Menu Block 7.3

Same name and namespace in other branches
  1. 7.2 menu_block.module \node_menu_block_delete()

Implements hook_menu_block_delete() on behalf of node.module.

File

./menu_block.module, line 1007
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();
}