You are here

function tablefield_field_widget_info in TableField 7.3

Same name and namespace in other branches
  1. 7 tablefield.module \tablefield_field_widget_info()
  2. 7.2 tablefield.module \tablefield_field_widget_info()

Implements hook_field_widget_info().

File

./tablefield.module, line 1232
Provides a set of fields that can be used to store tabular data with a node.

Code

function tablefield_field_widget_info() {
  return array(
    'tablefield' => array(
      'label' => t('Table field'),
      'field types' => array(
        'tablefield',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_DEFAULT,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
  );
}