function user_reference_field_widget_info_alter in References 7.2
Implements hook_field_widget_info_alter().
File
- user_reference/
user_reference.module, line 606 - Defines a field type for referencing a user from a node.
Code
function user_reference_field_widget_info_alter(&$info) {
$info['options_select']['field types'][] = 'user_reference';
$info['options_buttons']['field types'][] = 'user_reference';
}