function commerce_customer_ui_profile_type_redirect in Commerce Core 7
Redirects a customer profile type URL to its fields management page.
1 string reference to 'commerce_customer_ui_profile_type_redirect'
- commerce_customer_ui_menu in modules/
customer/ commerce_customer_ui.module - Implements hook_menu().
File
- modules/
customer/ commerce_customer_ui.module, line 125
Code
function commerce_customer_ui_profile_type_redirect($type) {
drupal_goto('admin/commerce/customer-profiles/types/' . strtr($type, '_', '-') . '/fields');
}