You are here

function local_fonts_fontyourface_preview in @font-your-face 6.2

Same name and namespace in other branches
  1. 7.2 modules/local_fonts/local_fonts.module \local_fonts_fontyourface_preview()
  2. 7 modules/local_fonts/local_fonts.module \local_fonts_fontyourface_preview()

Implements hook_fontyourface_preview().

File

modules/local_fonts/local_fonts.module, line 429

Code

function local_fonts_fontyourface_preview($font) {
  return '<span style="' . fontyourface_font_css($font) . ' font-size: 24px;">' . $font->name . '</span>';
}