function commerce_customer_ui_customer_profile_form_wrapper in Commerce Core 7
Form callback wrapper: create or edit a customer profile.
Parameters
$profile: The customer profile object being edited by this form.
See also
commerce_customer_customer_profile_form()
1 string reference to 'commerce_customer_ui_customer_profile_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 63 - Page callbacks and form builder functions for administering customer profiles.
Code
function commerce_customer_ui_customer_profile_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_form', $profile);
}