You are here

function commerce_customer_ui_customer_profile_delete_form_wrapper in Commerce Core 7

Form callback wrapper: confirmation form for deleting a customer profile.

Parameters

$profile: The customer profile object being deleted by this form.

See also

commerce_customer_customer_profile_delete_form()

1 string reference to 'commerce_customer_ui_customer_profile_delete_form_wrapper'
commerce_customer_ui_menu in modules/customer/commerce_customer_ui.module
Implements hook_menu().

File

modules/customer/includes/commerce_customer_ui.profiles.inc, line 77
Page callbacks and form builder functions for administering customer profiles.

Code

function commerce_customer_ui_customer_profile_delete_form_wrapper($profile) {

  // Include the forms file from the Customer module.
  module_load_include('inc', 'commerce_customer', 'includes/commerce_customer_profile.forms');
  return drupal_get_form('commerce_customer_ui_customer_profile_delete_form', $profile);
}