W3cubDocs

/Drupal 8

function update_themes_uninstalled

update_themes_uninstalled($themes)

Implements hook_themes_uninstalled().

If themes are uninstalled, we invalidate the information of available updates.

File

core/modules/update/update.module, line 256
Handles updates of Drupal core and contributed projects.

Code

function update_themes_uninstalled($themes) {
  // Clear all update module data.
  update_storage_clear();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!update!update.module/function/update_themes_uninstalled/8.1.x