function themekey_features_rule_chain_features_disable_feature in ThemeKey 7.3
Same name and namespace in other branches
- 7.2 themekey_features.module \themekey_features_rule_chain_features_disable_feature()
Implements hook_features_disable_feature().
1 call to themekey_features_rule_chain_features_disable_feature()
File
- ./
themekey_features.module, line 90
Code
function themekey_features_rule_chain_features_disable_feature($module) {
module_load_include('inc', 'themekey', 'themekey_build');
$rules = themekey_load_rules();
foreach ($rules as $id => $rule) {
if ($rule['module'] == $module) {
themekey_rule_disable($id);
}
}
}