function menu_node_disable in Menu Node API 7
Same name and namespace in other branches
- 6 menu_node.install \menu_node_disable()
Implements hook_disable().
On module disable, erase the {menu_node} table.
2 calls to menu_node_disable()
- MenuNodeAPIBasicTestCase::testMenuNodeAPI in tests/
menu_node.test - Tests for basic internal module functions.
- menu_node_update_7100 in ./
menu_node.install - Sync the {menu_node} table based on existing menu items.
File
- ./
menu_node.install, line 68 - Install file for Menu Node API.
Code
function menu_node_disable() {
db_delete('menu_node')
->execute();
}