function update_uninstall in Drupal 8
Same name and namespace in other branches
- 6 modules/update/update.install \update_uninstall()
- 7 modules/update/update.install \update_uninstall()
- 9 core/modules/update/update.install \update_uninstall()
Implements hook_uninstall().
File
- core/
modules/ update/ update.install, line 86 - Install, update, and uninstall functions for the Update Manager module.
Code
function update_uninstall() {
\Drupal::state()
->delete('update.last_check');
\Drupal::state()
->delete('update.last_email_notification');
$queue = \Drupal::queue('update_fetch_tasks');
$queue
->deleteQueue();
}