function formatted_number_field_info in Formatted Number 6
Same name and namespace in other branches
- 7 formatted_number.module \formatted_number_field_info()
Implementation of hook_field_info().
File
- ./
formatted_number.module, line 214 - Defines CCK numeric types where thousands separator and decimal point are inherited from the Format Number API module.
Code
function formatted_number_field_info() {
$fields = array();
foreach (formatted_number_get_fields_info() as $key => $info) {
$fields[$key] = array(
'label' => $info['label'],
'description' => $info['description'],
);
}
return $fields;
}