You are here

function isbn_field_formatter_info in ISBN Field 6

Same name and namespace in other branches
  1. 7 isbn.module \isbn_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./isbn.module, line 286
Defines ISBN field types.

Code

function isbn_field_formatter_info() {
  return array(
    'default' => array(
      'label' => t('ISBN: As Entered'),
      'field types' => array(
        'isbn',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'raw' => array(
      'label' => t('ISBN: As Entered'),
      'field types' => array(
        'isbn',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'clean' => array(
      'label' => t('ISBN: Clean (no dashes)'),
      'field types' => array(
        'isbn',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
}