function themekey_compat_module_implements_alter in ThemeKey 7.3
Same name and namespace in other branches
- 7 themekey_compat.module \themekey_compat_module_implements_alter()
- 7.2 themekey_compat.module \themekey_compat_module_implements_alter()
File
- ./
themekey_compat.module, line 125 - Integration of different theme switching modules into ThemeKey and its theme switching rule chain.
Code
function themekey_compat_module_implements_alter(&$implementations, $hook) {
if ('custom_theme' == $hook) {
foreach (variable_get('themekey_compat_modules_enabled', array()) as $module) {
unset($implementations[$module]);
}
}
}