function imagefield_crop_preset_delete_confirm in Imagefield Crop 7.3
Implements form builder imagefield_crop_preset_delete_confirm().
_state
Parameters
$form:
$preset:
Return value
mixed
1 string reference to 'imagefield_crop_preset_delete_confirm'
- imagefield_crop_preset_delete in ./
imagefield_crop.module - Menu callback -- ask for confirmation of presset deletion
File
- ./
imagefield_crop.module, line 1318
Code
function imagefield_crop_preset_delete_confirm($form, &$form_state, $preset) {
$form['#preset'] = $preset;
return confirm_form($form, t('Are you sure you want to delete %title?', array(
'%title' => $preset->name,
)), 'admin/config/media/imagefield-crop-preset-list/' . $preset->pid . '/edit', t('Are you sure you want to delete %title?', array(
'%title' => $preset->name,
)) . '<br />' . t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}