You are here

function barcode_field_formatter_info in Barcode 6

Same name and namespace in other branches
  1. 6.2 barcodefield.module \barcode_field_formatter_info()
  2. 7.2 barcode.module \barcode_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./barcode.module, line 117

Code

function barcode_field_formatter_info() {
  $formats = array(
    'default' => array(
      'label' => t('Barcode Image'),
      'field types' => array(
        'barcode',
        'title',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'plain' => array(
      'label' => t('Barcode Text'),
      'field types' => array(
        'barcode',
        'title',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
  return $formats;
}