function book_uninstall

Same name in other branches
  1. 7.x modules/book/book.install \book_uninstall()
  2. 8.9.x core/modules/book/book.install \book_uninstall()
  3. 10 core/modules/book/book.install \book_uninstall()
  4. 11.x core/modules/book/book.install \book_uninstall()

Implements hook_uninstall().

File

core/modules/book/book.install, line 11

Code

function book_uninstall() {
    // Clear book data out of the cache.
    \Drupal::cache('data')->deleteAll();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.