You are here

function tablefield_field_info in TableField 7

Same name and namespace in other branches
  1. 6 tablefield.module \tablefield_field_info()
  2. 7.3 tablefield.module \tablefield_field_info()
  3. 7.2 tablefield.module \tablefield_field_info()

Implements hook_field_info().

File

./tablefield.module, line 17
This module provides a set of fields that can be used to store tabular data with a node. The implementation uses a custom CCK widget.

Code

function tablefield_field_info() {
  return array(
    'tablefield' => array(
      'label' => t('Table Field'),
      'description' => t('Stores a table of text fields'),
      'default_widget' => 'tablefield',
      'default_formatter' => 'default',
    ),
  );
}