You are here

function party_activity_form_submit_delete in Party 8.2

Same name and namespace in other branches
  1. 7 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_edit_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 260
Party Activity editing UI

Code

function party_activity_form_submit_delete(&$form, &$form_state) {
  $form_state['redirect'] = 'admin/community/activitiess/activity/' . $form_state['activity']->party_activity_id . '/delete';
}