function commerce_customer_ui_customer_profile_delete_form_submit in Commerce Core 7
Submit callback for commerce_customer_ui_customer_profile_delete_form().
See also
commerce_customer_ui_form_commerce_customer_ui_customer_profile_delete_form_alter()
1 string reference to 'commerce_customer_ui_customer_profile_delete_form_submit'
- commerce_customer_ui_form_commerce_customer_ui_customer_profile_delete_form_alter in modules/
customer/ commerce_customer_ui.module - Implements hook_form_FORM_ID_alter().
File
- modules/
customer/ commerce_customer_ui.module, line 348
Code
function commerce_customer_ui_customer_profile_delete_form_submit($form, &$form_state) {
$form_state['redirect'] = 'admin/commerce/customer-profiles';
}