You are here

function book_uninstall in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/book/book.install \book_uninstall()
  2. 5 modules/book/book.install \book_uninstall()
  3. 6 modules/book/book.install \book_uninstall()
  4. 7 modules/book/book.install \book_uninstall()
  5. 9 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();
}