function font_reference_field_widget_info_alter in @font-your-face 7.2
Same name and namespace in other branches
- 7 modules/font_reference/font_reference.module \font_reference_field_widget_info_alter()
Implements hook_field_widget_info_alter().
File
- modules/
font_reference/ font_reference.module, line 210 - Defines a field type for referencing a font from a node.
Code
function font_reference_field_widget_info_alter(&$info) {
$info['options_select']['field types'][] = 'font_reference';
}