function barcode_elements in Barcode 6.2
Same name and namespace in other branches
- 6 barcode.module \barcode_elements()
Implementation of FAPI hook_elements().
File
- ./
barcode.module, line 109
Code
function barcode_elements() {
$type['barcode'] = array(
'#input' => TRUE,
'#default_value' => '',
'#size' => 30,
'#encoding' => variable_get('barcode_encoding', 'EAN-13'),
'#element_validate' => array(
'barcode_element_validate',
),
'#autocomplete_path' => FALSE,
'#process' => array(
'barcode_process',
),
);
return $type;
}