You are here

function number_field_info in Content Construction Kit (CCK) 5

Same name and namespace in other branches
  1. 6.3 modules/number/number.module \number_field_info()
  2. 6 modules/number/number.module \number_field_info()
  3. 6.2 modules/number/number.module \number_field_info()

Implementation of hook_field_info().

File

./number.module, line 11
Defines numeric field types.

Code

function number_field_info() {
  return array(
    'number_integer' => array(
      'label' => t('Integer'),
    ),
    'number_decimal' => array(
      'label' => t('Decimal'),
    ),
  );
}