function barcode_process in Barcode 6.2
Same name and namespace in other branches
- 6 barcode.module \barcode_process()
Process an individual barcode element.
1 string reference to 'barcode_process'
- barcode_elements in ./
barcode.module - Implementation of FAPI hook_elements().
File
- ./
barcode.module, line 126
Code
function barcode_process($element, $edit, &$form_state, $complete_form) {
module_load_include('inc', 'barcode', 'includes/barcode.plugins');
$element['#maxlength'] = barcode_plugin_max_length($element['#encoding']);
return form_expand_ahah($element);
}