function update_themes_uninstalled in Drupal 10
Same name and namespace in other branches
- 8 core/modules/update/update.module \update_themes_uninstalled()
- 9 core/modules/update/update.module \update_themes_uninstalled()
Implements hook_themes_uninstalled().
If themes are uninstalled, we invalidate the information of available updates.
File
- core/
modules/ update/ update.module, line 220 - Handles updates of Drupal core and contributed projects.
Code
function update_themes_uninstalled($themes) {
// Clear all update module data.
update_storage_clear();
}