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