function mediafront_preset_delete_submit in MediaFront 6
Same name and namespace in other branches
- 6.2 includes/mediafront.preset.inc \mediafront_preset_delete_submit()
- 7.2 includes/mediafront.preset.inc \mediafront_preset_delete_submit()
- 7 includes/mediafront.preset.inc \mediafront_preset_delete_submit()
Button sumit function: handle the 'Delete' button on the preset form.
1 string reference to 'mediafront_preset_delete_submit'
- mediafront_preset_form in includes/
mediafront.preset.inc
File
- includes/
mediafront.preset.inc, line 328
Code
function mediafront_preset_delete_submit($form, &$form_state) {
$preset['name'] = $form_state['values']['name'];
$form_state['redirect'] = mediafront_get_presets_path() . '/preset/' . $preset['name'] . '/delete';
}