You are here

function party_activity_delete_form_wrapper in Party 7

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

Form callback wrapper: delete a party activity.

Parameters

$activity: The activity object being edited by this form.

See also

party_activity_form()

1 string reference to 'party_activity_delete_form_wrapper'
PartyActivityUIController::hook_menu in modules/party_activity/party_activity.admin.inc
Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu is optimized for entity type administration.

File

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

Code

function party_activity_delete_form_wrapper($activity) {

  // Add the breadcrumb for the form's location.

  //activity_set_breadcrumb();
  return drupal_get_form('party_activity_delete_form', $activity);
}