You are here

function update_themes_uninstalled in Drupal 9

Same name and namespace in other branches
  1. 8 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 219
Handles updates of Drupal core and contributed projects.

Code

function update_themes_uninstalled($themes) {

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