function cloud_zoom_admin_preset_delete_confirm in Cloud Zoom 6
Delete preset confirm form
1 string reference to 'cloud_zoom_admin_preset_delete_confirm'
- cloud_zoom_menu in ./
cloud_zoom.module - Implementation of hook_menu().
File
- ./
cloud_zoom.admin.inc, line 339 - This file contains al the admin-only function
Code
function cloud_zoom_admin_preset_delete_confirm(&$form_state, $preset) {
// We're ok to continue - create a form and store the preset
$form = array();
$form['#original_preset'] = $preset;
// Return the form through the confirm_form function
return confirm_form($form, t('Are you sure you want to delete the Cloud Zoom Preset %preset?', array(
'%preset' => $preset['name'],
)), 'admin/settings/cloudzoom', t('Deleting a preset cannot be undone'), t('Delete'), t('Cancel'));
}