You are here

function party_delete_form_submit in Party 7

Same name and namespace in other branches
  1. 8.2 party.pages.inc \party_delete_form_submit()

Submit handler for the party delete form.

File

./party.pages.inc, line 198
party.pages.inc

Code

function party_delete_form_submit($form, &$form_state) {
  $form_state['party']
    ->delete();
}