You are here

function serial_widget in Serial Field 6

Implementation of hook_widget().

File

./serial.module, line 207
The Serial module main file.

Code

function serial_widget(&$form, &$form_state, $field, $items, $delta = 0) {
  return array(
    'value' => array(
      '#type' => 'hidden',
      '#default_value' => $items[$delta]['value'],
    ),
  );
}