You are here

function barcode_widget_info in Barcode 6

Same name and namespace in other branches
  1. 6.2 barcodefield.module \barcode_widget_info()

Implementation of hook_widget_info().

File

./barcode.module, line 173

Code

function barcode_widget_info() {
  return array(
    'barcode_textfield' => array(
      'label' => t('Text field'),
      'field types' => array(
        'barcode',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}