function font_reference_options_list in @font-your-face 7
Same name and namespace in other branches
- 7.2 modules/font_reference/font_reference.module \font_reference_options_list()
Implements hook_options_list().
File
- modules/
font_reference/ font_reference.module, line 217 - Defines a field type for referencing a font from a node.
Code
function font_reference_options_list($field) {
$function = !empty($field['settings']['options_list_callback']) ? $field['settings']['options_list_callback'] : 'font_reference_allowed_values';
return $function($field);
}