function boolean_field_widget_info in Boolean Field 7
Implements hook_field_widget_info().
File
- ./
boolean.module, line 297 - Defines boolean field type.
Code
function boolean_field_widget_info() {
return array(
'boolean_checkbox' => array(
'label' => t('Checkbox'),
'field types' => array(
'number_boolean',
),
'behaviors' => array(
// @todo Is FIELD_BEHAVIOR_CUSTOM what causes the list_boolean field not
// to have multiple values?
'multiple values' => FIELD_BEHAVIOR_DEFAULT,
),
),
);
}