function UpdateHooks::themesUninstalled
Same name and namespace in other branches
- 11.x core/modules/update/src/Hook/UpdateHooks.php \Drupal\update\Hook\UpdateHooks::themesUninstalled()
Implements hook_themes_uninstalled().
If themes are uninstalled, we invalidate the information of available updates.
Attributes
#[Hook('themes_uninstalled')]
File
-
core/
modules/ update/ src/ Hook/ UpdateHooks.php, line 158
Class
- UpdateHooks
- Hook implementations for update.
Namespace
Drupal\update\HookCode
public function themesUninstalled($themes) : void {
// Clear all Update Status module data.
update_storage_clear();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.