You are here

function cck_table_field_formatter_info in CCK Table Field 7

Same name and namespace in other branches
  1. 8 cck_table.module \cck_table_field_formatter_info()
  2. 5 cck_table.module \cck_table_field_formatter_info()
  3. 6 cck_table.module \cck_table_field_formatter_info()

Implements of hook_field_formatter_info().

File

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

Code

function cck_table_field_formatter_info() {
  return array(
    'first_row_header' => array(
      'label' => t('First Row will be the table header'),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
      'field types' => array(
        'table',
      ),
    ),
    'without_header' => array(
      'label' => t('Without a table header'),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
      'field types' => array(
        'table',
      ),
    ),
  );
}