kernest.install in @font-your-face 7
Same filename and directory in other branches
Removes fonts on disable.
File
modules/kernest/kernest.installView source
<?php
/**
* @file
* Removes fonts on disable.
*/
/**
* Implements hook_enable().
*/
function kernest_enable() {
// Weight must be above @font-your-face weight so preprocess comes after
db_query("UPDATE {system} SET weight = 1 WHERE name = 'kernest'");
}
// kernest_enable
/**
* Implements hook_disable().
*/
function kernest_disable() {
fontyourface_provider_disable('kernest');
}
// kernest_disable
Functions
Name | Description |
---|---|
kernest_disable | Implements hook_disable(). |
kernest_enable | Implements hook_enable(). |