You are here

function party_activity_form_submit_delete in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_activity/party_activity.admin.inc \party_activity_form_submit_delete()

Form API submit callback for the delete button.

@todo Remove hard-coded path

1 string reference to 'party_activity_form_submit_delete'
party_activity_form in modules/party_activity/party_activity.admin.inc
Form callback: create or edit a activity.

File

modules/party_activity/party_activity.admin.inc, line 486
Party Activity editing UI

Code

function party_activity_form_submit_delete(&$form, &$form_state) {
  $form_state['build_info']['args'][1] = 'delete';
  $form_state['rebuild'] = TRUE;
}