You are here

function kernest_fontyourface_preview in @font-your-face 6

Same name and namespace in other branches
  1. 7 modules/kernest/kernest.module \kernest_fontyourface_preview()

Implements hook_fontyourface_preview().

File

modules/kernest/kernest.module, line 127

Code

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