You are here

function tablefield_theme in TableField 6

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

Implementation of hook_theme().

File

./tablefield.module, line 12
This module provides a set of fields that can be used to store tabular data with a node. The implementation uses a custom CCK widget.

Code

function tablefield_theme() {
  return array(
    'tablefield' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'tablefield_formatter_default' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'tablefield_view' => array(
      'arguments' => array(
        'header' => NULL,
        'rows' => NULL,
      ),
    ),
  );
}