You are here

function themekey_admin_delete_rule_confirm_submit in ThemeKey 6.4

Same name and namespace in other branches
  1. 6.2 themekey_admin.inc \themekey_admin_delete_rule_confirm_submit()
  2. 6.3 themekey_admin.inc \themekey_admin_delete_rule_confirm_submit()
  3. 7.3 themekey_admin.inc \themekey_admin_delete_rule_confirm_submit()
  4. 7 themekey_admin.inc \themekey_admin_delete_rule_confirm_submit()
  5. 7.2 themekey_admin.inc \themekey_admin_delete_rule_confirm_submit()

Execute ThemeKey rule deletion

File

./themekey_admin.inc, line 775

Code

function themekey_admin_delete_rule_confirm_submit($form, &$form_state) {
  if ($form_state['values']['confirm']) {
    themekey_rule_del($form_state['values']['themekey_property_id']);
  }
  $form_state['redirect'] = 'admin/settings/themekey/properties';
}