You are here

function bigint_field_formatter_info in Big Integer 7

Implements hook_field_formatter_info().

File

./bigint.module, line 143
Defines numeric field types.

Code

function bigint_field_formatter_info() {
  return array(
    'number_bigint' => array(
      'label' => t('Default'),
      'field types' => array(
        'number_bigint',
      ),
      'settings' => array(
        'thousand_separator' => ',',
        'decimal_separator' => '.',
        'scale' => 0,
        'prefix_suffix' => TRUE,
      ),
    ),
    'number_unformatted' => array(
      'label' => t('Unformatted'),
      'field types' => array(
        'number_bigint',
      ),
    ),
  );
}