function wysiwyg_profile_delete_confirm in Wysiwyg 6.2
Same name and namespace in other branches
- 5.2 wysiwyg.admin.inc \wysiwyg_profile_delete_confirm()
- 5 wysiwyg.admin.inc \wysiwyg_profile_delete_confirm()
- 6 wysiwyg.admin.inc \wysiwyg_profile_delete_confirm()
- 7.2 wysiwyg.admin.inc \wysiwyg_profile_delete_confirm()
Delete editor profile confirmation form.
1 string reference to 'wysiwyg_profile_delete_confirm'
- wysiwyg_menu in ./
wysiwyg.module - Implementation of hook_menu().
File
- ./
wysiwyg.admin.inc, line 814 - Integrate Wysiwyg editors into Drupal.
Code
function wysiwyg_profile_delete_confirm(&$form_state, $profile) {
$formats = filter_formats();
$format = $formats[$profile->format];
$form['format'] = array(
'#type' => 'value',
'#value' => $profile->format,
);
return confirm_form($form, t('Are you sure you want to remove the profile for %name?', array(
'%name' => $format->name,
)), 'admin/settings/wysiwyg', t('This action cannot be undone.'), t('Remove'), t('Cancel'));
}