You are here

function finder_admin_element_delete_submit in Finder 7

Same name and namespace in other branches
  1. 6 includes/finder.admin.inc \finder_admin_element_delete_submit()

Submit function for admin finder delete page.

File

includes/finder.admin.inc, line 874
The finder admin screens.

Code

function finder_admin_element_delete_submit($form, &$form_state) {
  $finder_element_id =& $form_state['values']['finder_element_id'];
  $finder_id =& $form_state['values']['finder_id'];
  finder_element_delete($finder_element_id);
  drupal_goto('admin/structure/finder/' . $finder_id . '/edit');
}