You are here

function cck_table_field_widget_info in CCK Table Field 8

Same name and namespace in other branches
  1. 7 cck_table.module \cck_table_field_widget_info()

Implements of hook_field_widget_info().

File

./cck_table.module, line 35
Defines a field type that outputs data in a table.

Code

function cck_table_field_widget_info() {
  return array(
    'cck_table_textarea' => array(
      'label' => t('Textarea'),
      'field types' => array(
        'table',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_DEFAULT,
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
      'settings' => array(
        'rows' => CCK_TABLE_DEFAULT_ROWS,
      ),
    ),
  );
}