function hook_themes_disabled

Respond to themes being disabled.

Parameters

array $theme_list: Array containing the names of the themes being disabled.

See also

theme_disable()

3 functions implement hook_themes_disabled()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

breakpoint_themes_disabled in drupal/core/modules/breakpoint/breakpoint.module
Implements hook_themes_disabled().
locale_themes_disabled in drupal/core/modules/locale/locale.module
Implements hook_themes_disabled().
update_themes_disabled in drupal/core/modules/update/update.module
Implements hook_themes_disabled().
1 invocation of hook_themes_disabled()
theme_disable in drupal/core/includes/theme.inc
Disables a given list of themes.

File

drupal/core/modules/system/theme.api.php, line 232

Code

function hook_themes_disabled($theme_list) {

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