function hook_themes_enabled

Respond to themes being enabled.

Parameters

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

See also

theme_enable()

3 functions implement hook_themes_enabled()

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

block_themes_enabled in drupal/modules/block/block.module
Initializes blocks for enabled themes.
locale_themes_enabled in drupal/modules/locale/locale.module
Implements hook_themes_enabled().
update_themes_enabled in drupal/modules/update/update.module
Implements hook_themes_enabled().
1 invocation of hook_themes_enabled()
theme_enable in drupal/includes/theme.inc
Enables a given list of themes.

File

drupal/modules/system/theme.api.php, line 223

Code

function hook_themes_enabled($theme_list) {
  foreach ($theme_list as $theme) {
    block_theme_initialize($theme);
  }
}