function recipe_field_formatter_info in Recipe 7.2
Implements hook_field_formatter_info().
File
- ./
recipe.module, line 605 - Contains functions for Recipe node CRUD and display.
Code
function recipe_field_formatter_info() {
return array(
'recipe_duration' => array(
'label' => t('Recipe duration'),
'field types' => array(
'number_integer',
),
),
'recipe_ingredient_default' => array(
'label' => t('Default'),
'field types' => array(
'ingredient_reference',
),
'settings' => array(
'fraction_format' => t('{%d }%d⁄%d'),
'unit_abbreviation' => 0,
),
),
);
}