function hook_themes_enabled
hook_themes_enabled($theme_list)
Respond to themes being enabled.
Parameters
array $theme_list: Array containing the names of the themes being enabled.
See also
File
- modules/system/theme.api.php, line 223
Code
function hook_themes_enabled($theme_list) { foreach ($theme_list as $theme) { block_theme_initialize($theme); } }
© 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_enabled/7.x