function commerce_customer_field_widget_info_alter in Commerce Core 7
Implements hook_field_widget_info_alter().
File
- modules/
customer/ commerce_customer.module, line 939 - Defines the customer profile entity and API functions to manage customers and interact with them.
Code
function commerce_customer_field_widget_info_alter(&$info) {
if (!empty($info['options_select'])) {
$info['options_select']['field types'][] = 'commerce_customer_profile_reference';
}
}