function hook_themes_disabled

hook_themes_disabled($theme_list)

Respond to themes being disabled.

Parameters

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

See also

theme_disable()

File

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

Code

function hook_themes_disabled($theme_list) {
  // Clear all update module caches.
  _update_cache_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/modules!system!theme.api.php/function/hook_themes_disabled/7.x