function sheetnode_field_formatter_info in Sheetnode 6
Same name and namespace in other branches
- 5 sheetnode.module \sheetnode_field_formatter_info()
- 7.2 sheetnode.module \sheetnode_field_formatter_info()
- 7 sheetnode.module \sheetnode_field_formatter_info()
Implementation of hook_field_formatter_info().
File
- ./
sheetnode.module, line 724
Code
function sheetnode_field_formatter_info() {
$formatters = array(
'default' => array(
'label' => t('Default'),
'field types' => array(
'sheetfield',
),
'multiple values' => CONTENT_HANDLE_CORE,
),
);
if (module_exists('date')) {
$formatters['socialcalc_date'] = array(
'label' => t('SocialCalc'),
'field types' => array(
'date',
'datetime',
'datestamp',
),
'multiple values' => CONTENT_HANDLE_CORE,
);
}
return $formatters;
}