function themekey_features_rule_chain_features_rebuild in ThemeKey 7
Same name and namespace in other branches
- 6.4 themekey_features.module \themekey_features_rule_chain_features_rebuild()
- 6.3 themekey_features.module \themekey_features_rule_chain_features_rebuild()
Implements hook_features_rebuild().
1 call to themekey_features_rule_chain_features_rebuild()
File
- ./
themekey_features.module, line 81
Code
function themekey_features_rule_chain_features_rebuild($module) {
module_load_include('inc', 'themekey', 'themekey_build');
db_truncate('themekey_properties');
themekey_rebuild();
$rules = module_invoke($module, 'themekey_features_rule_chain_import');
themekey_features_save_rule_childs($rules);
// fast deletion of page cache (truncate)
cache_clear_all('*', 'cache_page', TRUE);
return TRUE;
}