You are here

function pollim_form_submit_delete in Poll Improved 7

Form API submit callback for the delete button.

@todo Remove hard-coded path

1 string reference to 'pollim_form_submit_delete'
pollim_edit_form in ./pollim.admin.inc
Form callback: create or edit a pollim.

File

./pollim.admin.inc, line 257
Pollim editing UI.

Code

function pollim_form_submit_delete(&$form, &$form_state) {
  $form_state['redirect'] = 'admin/content/pollims/pollim/' . $form_state['pollim']->pollim_id . '/delete';
}