function cck_list_field_info in CCK List 8
Same name and namespace in other branches
- 6 cck_list.module \cck_list_field_info()
- 7 cck_list.module \cck_list_field_info()
Implements hook_field_info().
File
- ./
cck_list.module, line 20 - Defines a field type that outputs data in an unordered or ordered list.
Code
function cck_list_field_info() {
return array(
'list' => array(
'label' => t('List'),
'description' => t('Defines a textarea field that outputs data in an list'),
'settings' => array(
'rows' => CCK_LIST_DEFAULT_ROWS,
),
'default_widget' => 'text_textarea',
'default_formatter' => 'list_unordered',
),
);
}