function physical_field_formatter_info in Physical Fields 7
Implements hook_field_formatter_info().
File
- ./
physical.module, line 493 - Defines fields (e.g. weight and dimensions) to support describing the physical attributes of entities.
Code
function physical_field_formatter_info() {
return array(
'physical_volume_formatted' => array(
'label' => t('Formatted volume'),
'field types' => array(
'physical_volume',
),
'settings' => array(),
),
'physical_weight_formatted' => array(
'label' => t('Formatted weight'),
'field types' => array(
'physical_weight',
),
'settings' => array(),
),
'physical_dimensions_formatted' => array(
'label' => t('Formatted dimensions'),
'field types' => array(
'physical_dimensions',
),
'settings' => array(),
),
);
}