function fonts_com_fontyourface_preview in @font-your-face 7
Same name and namespace in other branches
- 6.2 modules/fonts_com/fonts_com.module \fonts_com_fontyourface_preview()
- 7.2 modules/fonts_com/fonts_com.module \fonts_com_fontyourface_preview()
Implements hook_fontyourface_preview().
File
- modules/
fonts_com/ fonts_com.module, line 141
Code
function fonts_com_fontyourface_preview($font) {
return '<span style="' . fontyourface_font_css($font) . ' font-size: 24px;">' . $font->name . '</span>';
}