function themekey_css_admin_delete_rule_confirm in ThemeKey 7.3
Menu callback -- ask for confirmation of ThemeKey rule deletion
1 string reference to 'themekey_css_admin_delete_rule_confirm'
- themekey_css_menu in themekey_css/
themekey_css.module - Implements hook_menu().
File
- themekey_css/
themekey_css_admin.inc, line 85
Code
function themekey_css_admin_delete_rule_confirm($form, &$form_state, $arg, $themekey_property_id) {
$form['themekey_property_id'] = array(
'#type' => 'value',
'#value' => $themekey_property_id,
);
$title = themekey_css_format_rule_as_string($themekey_property_id);
return confirm_form($form, t('Are you sure you want to delete the ThemeKey rule, %title?', array(
'%title' => $title,
)), 'admin/config/user-interface/themekey/css', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}