function themekey_compat_module_implements_alter in ThemeKey 7
Same name and namespace in other branches
- 7.3 themekey_compat.module \themekey_compat_module_implements_alter()
- 7.2 themekey_compat.module \themekey_compat_module_implements_alter()
File
- ./
themekey_compat.module, line 117 - Integration of different theme switching modules into ThemeKey and it's 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']);
}
}
}