google_fonts_admin_settings_form |
./google_fonts.admin.inc |
Implements hook_admin_settings() for configuring the module |
|
1 |
google_fonts_admin_settings_form_submit |
./google_fonts.admin.inc |
Submit handler of the admin settings form
Saves the fonts, CSS code and settings |
|
|
google_fonts_init |
./google_fonts.module |
Implements hook_init(). |
|
|
google_fonts_install |
./google_fonts.install |
@file
Installation file for Google Fonts module. |
|
|
google_fonts_menu |
./google_fonts.module |
Implements hook_menu(). |
|
|
google_fonts_uninstall |
./google_fonts.install |
Delete settings variable |
|
|
google_fonts_update_6100 |
./google_fonts.install |
Change the google_fonts array of enabled fonts to the new format |
|
|
_google_fonts_add_custom_css |
./google_fonts.module |
|
1 |
|
_google_fonts_admin_array_values |
./google_fonts.admin.inc |
Return an array with the same keys as values |
1 |
|
_google_fonts_admin_font_example |
./google_fonts.admin.inc |
Returns the font family name, including a span with added styling |
1 |
|
_google_fonts_available_fonts |
./google_fonts.module |
Provides all needed details about Google fonts.
Thanks at @sreynen to provide this array in his @font-your-face module |
4 |
|
_google_fonts_cache_css |
./google_fonts.module |
Create the CSS file and store it locally. |
2 |
|
_google_fonts_family_array_key_decode |
./google_fonts.module |
|
|
|
_google_fonts_family_array_key_encode |
./google_fonts.module |
|
4 |
|
_google_fonts_family_pathname |
./google_fonts.module |
|
2 |
|
_google_fonts_filter_enabled_fonts |
./google_fonts.module |
Filter function to filter out the disabled Google Fonts. |
|
|
_google_fonts_format_subsets |
./google_fonts.admin.inc |
Return an array with formatted subsets (eg: change latin-ext into Latin Extended) |
1 |
|
_google_fonts_format_variants |
./google_fonts.admin.inc |
Return an array with formatted variants (eg: change bolditalic into Bold/Italic) |
2 |
|
_google_fonts_get_font_info |
./google_fonts.module |
Return the path of this font
If it is a child font of a larger family, scan the array to determine its path |
|
|
_google_fonts_load_css |
./google_fonts.module |
Add the CSS include to the HEAD of the page |
2 |
|
_google_fonts_system_fontname |
./google_fonts.module |
Format the font name as saved in the database (underscores instead of spaces) |
|
|
_google_fonts_update_font_list |
./google_fonts.module |
Trigger to reset the locally stored variable and fetch a new font list |
|
1 |