You are here

function sheetnode_elements in Sheetnode 6

Same name and namespace in other branches
  1. 5 sheetnode.module \sheetnode_elements()

Implementation of FAPI hook_elements().

File

./sheetnode.module, line 772

Code

function sheetnode_elements() {
  return array(
    'sheetfield_spreadsheet' => array(
      '#input' => TRUE,
      '#columns' => array(
        'value',
        'name',
      ),
      '#delta' => 0,
      '#process' => array(
        '_sheetfield_spreadsheet_process',
      ),
      '#autocomplete_path' => FALSE,
    ),
  );
}