function barcode_field_info in Barcode 7.2
Same name and namespace in other branches
- 6.2 barcodefield.module \barcode_field_info()
- 6 barcode.module \barcode_field_info()
Implements hook_field_info().
File
- ./
barcode.module, line 157
Code
function barcode_field_info() {
return array(
'barcode_field' => array(
'label' => t('Barcode'),
'description' => t('This field stores a barcode in the database.'),
'default_widget' => 'barcode_textfield',
'enable_tokens' => 1,
'default_formatter' => 'barcode_default',
'property_type' => 'text',
),
);
}