You are here

function update_themes_uninstalled in Drupal 8

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

Code

function update_themes_uninstalled($themes) {

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