You are here

function field_collection_table_field_formatter_info in Field Collection Table 7

Implements hook_field_formatter_info().

File

./field_collection_table.module, line 11
Module implementing a field-collection table formatter.

Code

function field_collection_table_field_formatter_info() {
  return array(
    'field_collection_table_view' => array(
      'label' => t('Table of field collection items'),
      'field types' => array(
        'field_collection',
      ),
      'settings' => array(
        'edit' => t('Edit'),
        'delete' => t('Delete'),
        'add' => t('Add'),
        'description' => TRUE,
        'view_mode' => 'full',
        'hide_empty' => FALSE,
        'empty' => TRUE,
        'caption' => NULL,
        'orientation' => 'columns',
        'header_column' => 'none',
      ),
    ),
  );
}