function commerce_reports_field_formatter_info in Commerce Reporting 7.4
Same name and namespace in other branches
- 7.3 commerce_reports.module \commerce_reports_field_formatter_info()
Implements hook_field_formatter_info().
Defines a formatter view for the commerce_price field type that works for the commerce_reports_visualization handler.
File
- ./
commerce_reports.module, line 240 - Module file for Commerce Reports.
Code
function commerce_reports_field_formatter_info() {
return array(
'commerce_reports_visualization' => array(
'label' => t('Formatted amount for visualization'),
'field types' => array(
'commerce_price',
),
'settings' => array(
'calculation' => FALSE,
),
),
);
}