function entityform_form_submit_delete in Entityform 7
Same name and namespace in other branches
- 7.2 entityform.admin.inc \entityform_form_submit_delete()
Form API submit callback for the delete button.
@todo Remove hard-coded path
1 string reference to 'entityform_form_submit_delete'
- entityform_edit_form in ./
entityform.admin.inc - Form callback: create or edit a entityform.
File
- ./
entityform.admin.inc, line 507 - Entityform editing UI.
Code
function entityform_form_submit_delete(&$form, &$form_state) {
$form_state['redirect'] = 'admin/structure/entityforms/entityform/' . $form_state['entityform']->entityform_id . '/delete';
}