You are here

function google_fonts_api_fontyourface_license in @font-your-face 6

Implements hook_fontyourface_license().

File

modules/google_fonts_api/google_fonts_api.module, line 103

Code

function google_fonts_api_fontyourface_license($used_font) {
  $list = google_fonts_api_list();
  $font = $list[$used_font->group_name]['fonts'][$used_font->name];
  return $font['license'];
}