You are here

function fontsquirrel_fontyourface_license in @font-your-face 6

Implements hook_fontyourface_license().

File

modules/fontsquirrel/fontsquirrel.module, line 228

Code

function fontsquirrel_fontyourface_license($used_font) {
  $list = fontsquirrel_list();
  $font = $list[$used_font->group_name]['fonts'][$used_font->name];
  return array(
    'name' => 'See Font Squirrel license page',
    'url' => 'http://www.fontsquirrel.com/license/' . $font['path'],
  );
}