You are here

function themekey_rule_del in ThemeKey 7.3

Same name and namespace in other branches
  1. 6.4 themekey_build.inc \themekey_rule_del()
  2. 6.2 themekey_build.inc \themekey_rule_del()
  3. 6.3 themekey_build.inc \themekey_rule_del()
  4. 7 themekey_build.inc \themekey_rule_del()
  5. 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

ThemeKeyRuleDeletionException

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);
}