You are here

function party_activity_bundle_select_form_submit in Party 7

Form API submit for selecting the activity bundle.

1 string reference to 'party_activity_bundle_select_form_submit'
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 454
Party Activity editing UI

Code

function party_activity_bundle_select_form_submit($form, &$form_state) {
  $activity = $form_state['party_activity'];
  $activity->type = $form_state['values']['type'];
  $form_state['rebuild'] = TRUE;
}