function tablefield_elements in TableField 6
Implementation of FAPI hook_elements().
File
- ./
tablefield.module, line 221 - 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_elements() {
drupal_add_css(drupal_get_path('module', 'tablefield') . '/tablefield.css');
return array(
'tablefield' => array(
'#input' => TRUE,
'#columns' => array(
'value',
),
'#delta' => 0,
'#process' => array(
'tablefield_process',
),
),
);
}