function book_uninstall
Same name in other branches
- 9 core/modules/book/book.install \book_uninstall()
- 8.9.x core/modules/book/book.install \book_uninstall()
- 10 core/modules/book/book.install \book_uninstall()
- 11.x core/modules/book/book.install \book_uninstall()
Implements hook_uninstall().
File
-
modules/
book/ book.install, line 19
Code
function book_uninstall() {
variable_del('book_allowed_types');
variable_del('book_child_type');
variable_del('book_block_mode');
// Delete menu links.
db_delete('menu_links')->condition('module', 'book')
->execute();
menu_cache_clear_all();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.