function font_reference_field_formatter_info in @font-your-face 7.2
Same name and namespace in other branches
- 7 modules/font_reference/font_reference.module \font_reference_field_formatter_info()
Implements hook_field_formatter_info().
File
- modules/
font_reference/ font_reference.module, line 133 - Defines a field type for referencing a font from a node.
Code
function font_reference_field_formatter_info() {
return array(
'font_reference_default' => array(
'label' => t('Default'),
'description' => t("Apply the font in CSS, display nothing."),
'field types' => array(
'font_reference',
),
),
'font_reference_name' => array(
'label' => t('Name'),
'description' => t("Display the name of the referenced font."),
'field types' => array(
'font_reference',
),
),
);
}