function fonts_com_enable in @font-your-face 7
Same name and namespace in other branches
- 6.2 modules/fonts_com/fonts_com.install \fonts_com_enable()
- 7.2 modules/fonts_com/fonts_com.install \fonts_com_enable()
Implements hook_enable().
File
- modules/
fonts_com/ fonts_com.install, line 11 - Removes fonts on disable.
Code
function fonts_com_enable() {
// Weight must be above @font-your-face weight so preprocess comes after
db_query("UPDATE {system} SET weight = 1 WHERE name = 'fonts_com'");
}