function field_group_table_field_group_formatter_info

7.x-1.x field_group_table.module field_group_table_field_group_formatter_info()

Implements hook_field_group_formatter_info().

File

./field_group_table.module, line 36
Adds a "Table" format to Field Groups.

Code

function field_group_table_field_group_formatter_info() {
  return array(
    'display' => array(
      'table' => array(
        'label' => t('Table'),
        'description' => t('This fieldgroup renders fields in a 2-column table with the label in the left column, and the value in the right column.'),
        'instance_settings' => array(
          'label_visibility' => FIELD_GROUP_TABLE_LABEL_CAPTION,
          'desc' => '',
          'first_column' => '',
          'second_column' => '',
          'empty_label_behavior' => FIELD_GROUP_TABLE_EMPTY_LABEL_KEEP,
          'table_row_striping' => FALSE,
          'always_show_field_label' => FALSE,
          'classes' => '',
        ),
      ),
    ),
    'form' => array(
      'table' => array(
        'label' => t('Table'),
        'description' => t('This fieldgroup renders fields in a 2-column table with the label in the left column, and the value in the right column.'),
        'instance_settings' => array(
          'label_visibility' => FIELD_GROUP_TABLE_LABEL_CAPTION,
          'desc' => '',
          'first_column' => '',
          'second_column' => '',
          'empty_label_behavior' => FIELD_GROUP_TABLE_EMPTY_LABEL_KEEP,
          'table_row_striping' => FALSE,
          'always_show_field_label' => FALSE,
          'classes' => '',
        ),
      ),
    ),
  );
}