You are here

function hook_themes_enabled in Drupal 7

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 modules/block/block.module
Initializes blocks for enabled themes.
locale_themes_enabled in modules/locale/locale.module
Implements hook_themes_enabled().
update_themes_enabled in modules/update/update.module
Implements hook_themes_enabled().
1 invocation of hook_themes_enabled()
theme_enable in includes/theme.inc
Enables a given list of themes.

File

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

Code

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