You are here

function mvf_elements in Measured Value Field 6

Implementation of FAPI hook_elements().

File

./mvf.module, line 368
Measured Value Field module.

Code

function mvf_elements() {
  return array(
    'mvf_widget' => array(
      '#input' => TRUE,
      '#columns' => array(
        'value',
        'value2',
        'unit',
      ),
      '#delta' => 0,
      '#process' => array(
        'mvf_widget_process',
      ),
      '#element_validate' => array(
        'mvf_widget_validate',
      ),
    ),
  );
}