You are here

function bigint_field_info in Big Integer 7

Implements hook_field_info().

File

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

Code

function bigint_field_info() {
  return array(
    'number_bigint' => array(
      'label' => t('BigInt'),
      'description' => t('This field stores a number in the database as an bigint.'),
      'instance_settings' => array(
        'size' => '60',
        'min' => '',
        'max' => '',
        'prefix' => '',
        'suffix' => '',
      ),
      'default_widget' => 'number_bigint',
      'default_formatter' => 'number_bigint',
      'property_type' => 'integer',
    ),
  );
}