function nodereference_count_field_widget_info in Nodereference Count 7
Implements hook_field_widget_info().
File
- ./
nodereference_count.module, line 91 - Defines a field type for counting the references to a node.
Code
function nodereference_count_field_widget_info() {
return array(
'nodereference_count_widget' => array(
'label' => t('default'),
'description' => t('The count is calculated, so there is no data to enter.'),
'field types' => array(
'nodereference_count',
),
'behaviors' => array(
'default_value' => FIELD_BEHAVIOR_NONE,
),
),
);
}