function choices_field_widget_info in Poll Improved 7
Implements hook_field_widget_info().
File
- modules/
choices/ choices.module, line 129 - Defines simple choices field.
Code
function choices_field_widget_info() {
return array(
'choices_default' => array(
'label' => t('Text field'),
'field types' => array(
'choices',
),
),
'choices_submit_default' => array(
'label' => t('Text field'),
'field types' => array(
'choices_submit',
),
),
);
}