function barcodes_field_formatter_info in Barcodes 7
Implements hook_field_formatter_info().
File
- ./
barcodes.module, line 206 - Contains barcodes.module.
Code
function barcodes_field_formatter_info() {
return array(
'barcode' => array(
'label' => t('Barcode'),
'description' => t('Render the value as barcode.'),
'field types' => array(
'email',
'link_field',
'number_integer',
'string',
'phone',
'text',
'text_long',
'text_with_summary',
),
'settings' => array(
'type' => 'QRCODE',
'color' => '#000000',
'height' => 100,
'width' => 100,
'padding_top' => 0,
'padding_right' => 0,
'padding_bottom' => 0,
'padding_left' => 0,
'show_value' => FALSE,
),
),
);
}