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()

1 function implements 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.

update_themes_disabled in modules/update/update.module
Implements hook_themes_disabled().
1 invocation of hook_themes_disabled()
theme_disable in includes/theme.inc
Disables a given list of themes.

File

modules/system/theme.api.php, line 237

Code

function hook_themes_disabled($theme_list) {
    // Clear all update module caches.
    _update_cache_clear();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.