function mediafront_preset_delete_confirm_submit in MediaFront 6.2
Same name and namespace in other branches
- 6 includes/mediafront.preset.inc \mediafront_preset_delete_confirm_submit()
- 7.2 includes/mediafront.preset.inc \mediafront_preset_delete_confirm_submit()
- 7 includes/mediafront.preset.inc \mediafront_preset_delete_confirm_submit()
Execute preset deletion
File
- includes/
mediafront.preset.inc, line 346
Code
function mediafront_preset_delete_confirm_submit($form, &$form_state) {
if ($form_state['values']['confirm']) {
mediafront_preset_delete($form_state['values']['name']);
}
$form_state['redirect'] = mediafront_get_presets_path();
}