You are here

function multifield_table_theme in Multifield table 7

Implements hook_theme().

File

./multifield_table.module, line 137
Provides a table formatter and widget for multifield field types.

Code

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