function userreference_widget_info in Content Construction Kit (CCK) 5
Same name and namespace in other branches
- 6.3 modules/userreference/userreference.module \userreference_widget_info()
- 6 modules/userreference/userreference.module \userreference_widget_info()
- 6.2 modules/userreference/userreference.module \userreference_widget_info()
Implementation of hook_widget_info().
File
- ./
userreference.module, line 131 - Defines a field type for referencing a user from a node.
Code
function userreference_widget_info() {
return array(
'userreference_select' => array(
'label' => t('Select List'),
'field types' => array(
'userreference',
),
),
'userreference_autocomplete' => array(
'label' => t('Autocomplete Text Field'),
'field types' => array(
'userreference',
),
),
);
}