function themekey_rule_del in ThemeKey 7.3
Same name and namespace in other branches
- 6.4 themekey_build.inc \themekey_rule_del()
- 6.2 themekey_build.inc \themekey_rule_del()
- 6.3 themekey_build.inc \themekey_rule_del()
- 7 themekey_build.inc \themekey_rule_del()
- 7.2 themekey_build.inc \themekey_rule_del()
Deletes a ThemeKey rule from database.
Parameters
$id: id of the rule to be deleted from database
Throws
3 calls to themekey_rule_del()
- themekey_admin_delete_rule_confirm_submit in ./
themekey_admin.inc - Execute ThemeKey rule deletion
- themekey_features_graceful_rule_deletion in ./
themekey_features.module - Deletes all rules related to this feature, except that the administrator added childs
- themekey_ui_del_path_theme in ./
themekey_ui_helper.inc - Deletes a ThemeKey rule.
File
- ./
themekey_build.inc, line 428 - The functions in this file are the back end of ThemeKey which should be used only if you configure something, but not when ThemeKey switches themes.
Code
function themekey_rule_del($id) {
return themekey_abstract_rule_del('themekey_properties', $id);
}