Same name and namespace in other branches
  1. 8.9.x core/modules/update/update.module \update_themes_uninstalled()
  2. 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 215
Handles updates of Drupal core and contributed projects.

Code

function update_themes_uninstalled($themes) {

  // Clear all update module data.
  update_storage_clear();
}