You are here

function tablefield_theme in TableField 7.3

Same name and namespace in other branches
  1. 6 tablefield.module \tablefield_theme()
  2. 7 tablefield.module \tablefield_theme()
  3. 7.2 tablefield.module \tablefield_theme()

Implements hook_theme().

File

./tablefield.module, line 2009
Provides a set of fields that can be used to store tabular data with a node.

Code

function tablefield_theme() {
  return array(
    'tablefield_view' => array(
      'variables' => array(
        'caption' => NULL,
        'header' => NULL,
        'rows' => NULL,
        'export' => NULL,
        'delta' => NULL,
        'entity_type' => NULL,
        'entity_id' => NULL,
        'field_name' => NULL,
        'langcode' => NULL,
        'formatter' => NULL,
        'header_orientation' => 'Horizontal',
        'sticky' => NULL,
        'striping' => NULL,
        'sortable' => NULL,
        'table_custom_class_attributes' => NULL,
        'attributes' => array(),
      ),
    ),
    'tablefield' => array(
      'variables' => array(
        'rows' => NULL,
        'attributes' => array(),
        'caption' => NULL,
        'colgroups' => array(),
        'header_orientation' => 'Horizontal',
        'sticky' => NULL,
        'striping' => NULL,
        'sortable' => NULL,
        'table_custom_class_attributes' => NULL,
        'empty' => NULL,
      ),
    ),
  );
}