function ckeditor_htmlbuttons_delete_confirm in CKEditor HTML Buttons (for WYSIWYG and CKEditor) 7
Menu callback -- ask for confirmation of rule deletion.
1 string reference to 'ckeditor_htmlbuttons_delete_confirm'
- ckeditor_htmlbuttons_menu in ./
ckeditor_htmlbuttons.module - Implements hook_menu().
File
- ./
ckeditor_htmlbuttons.admin.inc, line 241 - Administrative page callbacks for the CKEditor HTML Buttons module.
Code
function ckeditor_htmlbuttons_delete_confirm($something, &$form_state) {
$form['name'] = array(
'#type' => 'value',
'#value' => isset($form_state['build_info']['args'][0]) ? $form_state['build_info']['args'][0] : 0,
);
$button = ckeditor_htmlbutton_load_button(isset($form_state['build_info']['args'][0]) ? $form_state['build_info']['args'][0] : 0);
return _ckeditor_htmlbuttons_delete_confirm_form($form, $button['title']);
}