function imagecache_ui_preset_delete_form_submit in ImageCache 5.2
Same name and namespace in other branches
- 6.2 imagecache_ui.pages.inc \imagecache_ui_preset_delete_form_submit()
File
- ./
imagecache_ui.module, line 184
Code
function imagecache_ui_preset_delete_form_submit($form_id, $form_values) {
$preset = imagecache_preset($form_values['presetid']);
imagecache_preset_delete($preset);
drupal_set_message(t('Preset "%name" (ID: @id) deleted.', array(
'%name' => $preset['presetname'],
'@id' => $preset['presetid'],
)));
return 'admin/build/imagecache';
}