You are here

function bueditor_delete_form in BUEditor 6

Same name and namespace in other branches
  1. 6.2 admin/bueditor.admin.inc \bueditor_delete_form()
  2. 7 admin/bueditor.admin.inc \bueditor_delete_form()

Editor deletion form. Confirm & delete

1 string reference to 'bueditor_delete_form'
bueditor_menu in ./bueditor.module
Implementation of hook_menu().

File

./bueditor.admin.inc, line 366

Code

function bueditor_delete_form($form_state, $editor) {
  return confirm_form(array(), t('Are you sure you want to delete the editor %name?', array(
    '%name' => $editor->name,
  )), 'admin/settings/bueditor', t('All buttons and settings for this editor will be removed.') . ' ' . t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}