function fivestar_widget_info in Fivestar 6.2
Same name and namespace in other branches
- 5 fivestar_field.inc \fivestar_widget_info()
- 6 fivestar_field.inc \fivestar_widget_info()
Implementation of hook_widget_info().
File
- includes/
fivestar.field.inc, line 173 - Provides CCK integration for fivestar module
Code
function fivestar_widget_info() {
return array(
'stars' => array(
'label' => t('Stars'),
'field types' => array(
'fivestar',
),
'multiple values' => CONTENT_HANDLE_MODULE,
),
'radios' => array(
'label' => t('Select list'),
'field types' => array(
'fivestar',
),
'multiple values' => CONTENT_HANDLE_MODULE,
),
);
}