function fontyourface_update_8001 in @font-your-face 8.3
Updates fonts which are enabled to have enabled property in Font status.
File
- ./
fontyourface.install, line 44 - Font-Your-Face install/update/uninstall hook implementation.
Code
function fontyourface_update_8001() {
$fonts = Font::loadActivatedFonts();
foreach ($fonts as $font) {
$font
->enable();
}
}