You are here

function cck_list_field_widget_info in CCK List 7

Same name and namespace in other branches
  1. 8 cck_list.module \cck_list_field_widget_info()

Implements hook_field_widget_info().

File

./cck_list.module, line 35
Defines a field type that outputs data in an unordered or ordered list.

Code

function cck_list_field_widget_info() {
  return array(
    'cck_list_textarea' => array(
      'label' => t('Text area'),
      'field types' => array(
        'list',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_DEFAULT,
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
      'settings' => array(
        'rows' => CCK_LIST_DEFAULT_ROWS,
      ),
    ),
  );
}