function advpoll_field_field_formatter_info in Advanced Poll 7
Same name and namespace in other branches
- 7.3 advpoll_field/advpoll_field.module \advpoll_field_field_formatter_info()
- 7.2 advpoll_field/advpoll_field.module \advpoll_field_field_formatter_info()
Implements hook_field_formatter_info().
File
- advpoll_field/
advpoll_field.module, line 33 - Provides a FieldAPI field type for presenting an Advanced Poll choice field with a Boolean checkbox to indicate write-in status.
Code
function advpoll_field_field_formatter_info() {
return array(
'advpoll_choice' => array(
'label' => t('Advanced Poll Widget'),
'field types' => array(
'advpoll',
),
),
);
}