function update_modules_uninstalled in Drupal 10
Implements hook_modules_uninstalled().
If modules are uninstalled, we invalidate the information of available updates.
File
- core/
modules/ update/ update.module, line 240 - Handles updates of Drupal core and contributed projects.
Code
function update_modules_uninstalled($modules) {
// Clear all update module data.
update_storage_clear();
}