1.20.x theme.api.php | 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 171
Code
function hook_themes_enabled($theme_list) {
foreach ($theme_list as $theme) {
mymodule_prepare_theme($theme);
}
}