You are here

function field_collection_table_theme in Field Collection Table 7

Implements hook_theme().

File

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

Code

function field_collection_table_theme($existing, $type, $theme, $path) {
  $base = array(
    'file' => 'theme.inc',
    'path' => $path . '/theme',
  );
  return array(
    'field_collection_table_multiple_value_field' => $base + array(
      'render element' => 'element',
    ),
    'field_collection_table_multiple_value_fields' => $base + array(
      'render element' => 'element',
    ),
    'table__field_collection_table' => $base + array(
      'variables' => array(
        'header' => NULL,
        'rows' => NULL,
        'attributes' => array(),
        'caption' => NULL,
        'colgroups' => array(),
        'sticky' => TRUE,
        'empty' => '',
        'settings' => array(),
      ),
    ),
  );
}