You are here

function _google_fonts_add_custom_css in Google Fonts 6.2

Same name and namespace in other branches
  1. 7.2 google_fonts.module \_google_fonts_add_custom_css()
  2. 7 google_fonts.module \_google_fonts_add_custom_css()
1 call to _google_fonts_add_custom_css()
google_fonts_init in ./google_fonts.module
Implements hook_init().

File

./google_fonts.module, line 71
This module enables Google Fonts on your website.

Code

function _google_fonts_add_custom_css() {

  // Now add it to the list of CSS files to be loaded
  drupal_add_css(_google_fonts_cache_css(variable_get("google_fonts_css_contents", NULL)), 'theme');
}