function book_uninstall in Drupal 9
Same name and namespace in other branches
- 8 core/modules/book/book.install \book_uninstall()
- 5 modules/book/book.install \book_uninstall()
- 6 modules/book/book.install \book_uninstall()
- 7 modules/book/book.install \book_uninstall()
- 10 core/modules/book/book.install \book_uninstall()
Implements hook_uninstall().
File
- core/
modules/ book/ book.install, line 11 - Install, update and uninstall functions for the book module.
Code
function book_uninstall() {
// Clear book data out of the cache.
\Drupal::cache('data')
->deleteAll();
}