function sheetnode_field_formatter_info in Sheetnode 7.2
Same name and namespace in other branches
- 5 sheetnode.module \sheetnode_field_formatter_info()
- 6 sheetnode.module \sheetnode_field_formatter_info()
- 7 sheetnode.module \sheetnode_field_formatter_info()
Implements hook_field_formatter_info().
File
- ./
sheetnode.module, line 775 - Module file for the sheetnode module.
Code
function sheetnode_field_formatter_info() {
$formatters = array(
'sheetfield_default' => array(
'label' => t('Default'),
'field types' => array(
'sheetfield',
),
),
);
if (module_exists('date')) {
$formatters['socialcalc_date'] = array(
'label' => t('SocialCalc'),
'field types' => array(
'date',
'datetime',
'datestamp',
),
);
}
return $formatters;
}